recentpopularlog in

static

« earlier   
in | Hugo
{{ if in "this string contains a substring" "substring" }}Substring found!{{ end }}
static 
2 days ago by mattypenny
Conditionals | Hugo | Mike Dane
{{ if condition }}
{{ else if condition }}
{{ else }}
{{ end }}
static 
2 days ago by mattypenny
File Variables | Hugo
.File.Dir
given the path content/posts/dir1/dir2/, the relative directory path of the content file will be returned (e.g., posts/dir1/dir2/). Note that the path separator (\ or /) could be dependent on the operating system.
static 
2 days ago by mattypenny

Copy this bookmark:





to read