My personal website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Nicolas Massé 093b166bb4 new article: demobox sso 5 years ago
.vscode add vscode configuration 5 years ago
archetypes switch to page bundles for attachments 5 years ago
content new article: demobox sso 5 years ago
layouts/shortcodes Improve Web Vitals: SEO and Accessibility 5 years ago
static never remove this file :( 5 years ago
themes highlighted file support 5 years ago
.gitignore cleanup 5 years ago
.gitmodules switch to the itix theme 5 years ago
README.md implement chroma highlighting 6 years ago
UPCOMING.md TODO list 6 years ago
config.yaml switch to the itix theme 5 years ago
hugo Core Web Vitals: improve page loading time and accessibility 5 years ago
netlify.toml Core Web Vitals: improve page loading time and accessibility 5 years ago
realpath.py dirty fix for netlify that do not ship realpath 5 years ago

README.md

www.itix.fr

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"

How to update the theme

You can update a theme to the latest version by executing the following command in the root directory of your project:

git submodule update --rebase --remote

How to change the Chroma style for syntax highlighting

mkdir -p static/css
hugo gen chromastyles --style=perldoc > static/css/chroma.css