My place on the web: https://martinjagodic.com/
You need Hugo installed on your machine: https://gohugo.io/getting-started/quick-start/
This repository is set up to be developed with Visual Studio Code editor. Please install reccommended extensions listed in extensions.json
If this is your first time running the project, run
npm install
and npx husky install
When you have that run one of these commands for local dev server:
hugo server
or npm run dev
and open your local site on http://localhost:1313/
Follow BEM naming convention for CSS class names.
Follow the standard Javascript style.
There are 3 linters set up:
If quick fixes are possible, VS Code will fix them on save. A pre-commit git hook is also in place. It triggers all 3 linters on staged files, and if there are errors, it prevents the commit.