|
|
1 month ago | |
|---|---|---|
| .vscode | 2 years ago | |
| archetypes | 6 years ago | |
| assets/css | 1 month ago | |
| content | 1 year ago | |
| i18n | 1 month ago | |
| layouts | 1 month ago | |
| static | 1 month ago | |
| .gitattributes | 1 year ago | |
| .gitignore | 1 month ago | |
| LICENSE-theme | 1 month ago | |
| README.md | 1 month ago | |
| UPCOMING.md | 2 years ago | |
| config.yaml | 1 month ago | |
| favicon.sh | 2 years ago | |
| find-internal-redirects | 2 years ago | |
| hugo | 1 month ago | |
| netlify.toml | 4 months ago | |
| realpath.py | 6 years ago | |
README.md
www.itix.fr
Netlify CLI
npm install -g netlify-cli
netlify login
netlify link
netlify status
How to update this website
Create a new branch:
git checkout -b "$(date +%F)-update"
Create a new page:
hugo new speaking/my-wonderful-event.md
vim content/speaking/my-wonderful-event.md
Check locally that your changes are OK:
hugo server -D &
Commit your changes:
git add .
git commit -m "$(date +%F) update"
git push --set-upstream origin "$(date +%F)-update"
Go on GitHub and create a new pull request based on this new branch.
Netlify will provision a dedicated instance for this new pull request. The URL will be posted in a comment in the PR.
Check that the modifications are OK.
Merge the pull request
Delete the remote branch.
Change back to the master branch locally:
git checkout master
git pull
Delete the old branch:
git branch -d "$(date +%F)-update"
Theme
The theme lives directly in this repository (layouts, assets, i18n and
static directories). It was previously maintained as a git submodule in
hugo-theme-itix, whose
history has been merged in this repository.
It is derived from hugo-theme-diary and released under the MIT license (see LICENSE-theme).
How to change the Chroma style for syntax highlighting
The Chroma style sheet is generated by the ./hugo script in
assets/css/chroma.css. To change the style, edit the --style argument
of the hugo gen chromastyles command in the ./hugo script.