Create a New Project

Folder Structure
├── static
│   ├── manifest.json
│   └── sw.js
├── hugo.yaml
└── themes
    └── E25DX

Create a New Project

hugo new site newsite
cd newsite

git init
git submodule add https://github.com/dumindu/E25DX.git themes/E25DX

rm hugo.toml && cp themes/E25DX/hugo.yaml .
cp themes/E25DX/static/sw.js ./static/
cp themes/E25DX/static/manifest.json ./static/
Note

We don’t need generated archetypes, assets, i18n, layouts folders in the newsite folder

Update Configuration

Change the following values according to the project you are building.

  1. hugo.yaml

    1. languages: en:title and en:params:description
    2. params: project and author
  2. static/sw.js

    1. cacheName prefix: ex. todo-
  3. static/manifest.json

    1. name, short_name, description