Demo or it didn’t happen…

currently the _create.sh files are broken

This Playground is for

Hugo Templates Coding:

  • Syntax: Literals, Comments, Text and Spaces, Datatypes, Variables, Arguments, Conditions, Range, With
  • Functions
  • Variables
  • Shortcodes

But not

  • hugo template lookup order
  • any html, css, js stuff

How it works

ToDo …

hugo -v -w server --disableFastRender --navigateToChanged --config config.toml,config.local.toml
content/examples/basics/
├── actions
│   ├── comments.md
│   ├── conditions.md
│   ├── _index.md
│   ├── pipelines.md
│   ├── range.md
│   ├── template.md
│   ├── text_and_spaces.md
│   └── with.md
├── arguments.md
├── context_the_dot.md
├── datatypes
│   ├── array.md
│   ├── bool.md
│   ├── complex.md
│   ├── float.md
│   ├── _index.md
│   ├── int.md
│   ├── map.md
│   ├── string.md
│   └── time.md
├── _index.md
├── literals.md
└── variables.md

content/examples/basics/literals.md

---
layout: "basics/literals"
weight: 100
---
layouts/examples/basics/
├── actions
│   ├── comments.html
│   ├── conditions.html
│   ├── _create.sh
│   ├── pipelines.html
│   ├── range.html
│   ├── template.html
│   ├── text_and_spaces.html
│   └── with.html
├── arguments.html
├── context_the_dot.html
├── _create.sh
├── datatypes
│   ├── array.html
│   ├── bool.html
│   ├── complex.html
│   ├── _create.sh
│   ├── float.html
│   ├── int.html
│   ├── map.html
│   ├── rune.html
│   ├── string.html
│   └── time.html
├── literals.html
└── variables.html

Other Playgrounds

Hugo

HTML, CSS, JS

Go

JSON