Each piece of content in Hugo should have front matter. Front matter is like post meta. It can be formatted 4 ways: JSON, YAML, TOML, or ORG.
yaml format
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}Each piece of content in Hugo should have front matter. Front matter is like post meta. It can be formatted 4 ways: JSON, YAML, TOML, or ORG.
yaml format
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}| set :application, 'example.com' | |
| set :repo_url, 'git@github.com:username/repo.git' | |
| set :username, -> {'webHostUsername'} | |
| # Git Branch Options | |
| # ask :branch, -> { `git rev-parse --abbrev-ref HEAD`.chomp } | |
| set :branch, :main | |
| # Paths | |
| set :proj_root, -> {"/home/#{fetch(:username)}/domains/#{fetch(:application)}"} |
| ' Some custom Visual Basic functions that I like to use | |
| ' User MikeD on https://stackoverflow.com/a/37611071/12621376 | |
| ' Check whether a given string is a valid name in Activeworkbook.names | |
| Function isNamedRange(ByVal rangeName As String) | |
| Dim n As Name | |
| isNamedRange = False | |
| For Each n In ActiveWorkbook.Names | |
| If n.Name = rangeName Then | |
| isNamedRange = True |