- Git clone the repo in a Hugo site's theme directory :
git clone https://github.com/aubm/hugo-code-editor-theme.git /path/to/site/themes/code-editor
- Go in to the site's directory :
cd /path/to/site
- Serve the website with Hugo :
hugo server
- Open a new terminal and go in to the theme's directory :
cd /path/to/site/themes/code-editor
- Install dependencies with npm :
npm i
- Build static files :
npm run build
Please do not edit the theme.css
, theme.min.css
, theme.js
or theme.min.js
files directly. Prefer working on source
files and use the npm run watch
command to automatically rebuild on edit.
Please try to keep a clean history and use the official Angular guidelines for commit messages.