https://github.com/thenewdynamic/hugo-module-tnd-env
A Hugo Module to handle everything "Environment"
https://github.com/thenewdynamic/hugo-module-tnd-env
Last synced: 4 months ago
JSON representation
A Hugo Module to handle everything "Environment"
- Host: GitHub
- URL: https://github.com/thenewdynamic/hugo-module-tnd-env
- Owner: theNewDynamic
- License: mit
- Created: 2021-05-12T17:28:22.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-12T18:12:52.000Z (about 5 years ago)
- Last Synced: 2025-08-18T21:23:34.592Z (10 months ago)
- Language: HTML
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
This is a template repo. To start.
search `env` through the project and replace it with the module identifier (ex: `socials` for `hugo-module-tnd-socials`)
# env Hugo Module
(intro)
## Requirements
Requirements:
- Go 1.14
- Hugo 0.61.0
## Installation
If not already, [init](https://gohugo.io/hugo-modules/use-modules/#initialize-a-new-module) your project as Hugo Module:
```
$: hugo mod init {repo_url}
```
Configure your project's module to import this module:
```yaml
# config.yaml
module:
imports:
- path: github.com/theNewDynamic/hugo-module-tnd-env
```
## Usage
### Some Partial/Feature
#### Examples
### Settings
Settings are added to the project's parameter under the `tnd_env` map as shown below.
```yaml
# config.yaml
params:
tnd_env:
[...]
```
#### Configure Key 1
#### Configure Key 2
#### Defaults
ld copy/paste the above to your settings and append with new extensions.
## theNewDynamic
This project is maintained and loved by [thenewDynamic](https://www.thenewdynamic.com).