This is a template repo. To start.
search {moduleName}
through the project and replace it with the module identifier (ex: socials
for hugo-module-tnd-socials
)
(intro)
Requirements:
- Go 1.14
- Hugo 0.61.0
If not already, init your project as Hugo Module:
$: hugo mod init {repo_url}
Configure your project's module to import this module:
# config.yaml
module:
imports:
- path: github.com/theNewDynamic/hugo-module-tnd-{moduleName}
Settings are added to the project's parameter under the tnd_{moduleName}
map as shown below.
# config.yaml
params:
tnd_{moduleName}:
[...]
ld copy/paste the above to your settings and append with new extensions.
This project is maintained and loved by thenewDynamic.