https://github.com/lkummer/hugo-theme-boilerplate
https://github.com/lkummer/hugo-theme-boilerplate
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lkummer/hugo-theme-boilerplate
- Owner: LKummer
- Created: 2020-08-18T18:49:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-10T20:13:43.000Z (over 1 year ago)
- Last Synced: 2025-12-31T20:19:09.959Z (6 months ago)
- Language: JavaScript
- Size: 1.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Hugo Theme
> Webpack boilerplate for Hugo theme development
## Development Guide
After cloning the project, install the required dependencies:
```s
$ npm ci
```
Quick summary of the development scripts:
- `build` - Build the Hugo theme, demo and documentation sites for production.
Linting the sources in the process. Built artifacts are placed in the `dist`
folder.
- `build:theme:debug` - Build the Hugo theme unminified with source maps.
- `dev` - Run the demo site development server.
- `dev:doc` - Run the documentation site development server.
- `lint` - Lint all files with ESLint, Stylelint and Prettier.
- `format` - Format all files with ESLint, Stylelint and Prettier.
The scripts can be invoked using `npm run`:
```s
$ npm run
```
For example, if we want to build the theme we can use the `build` script:
```s
$ npm run build
```