mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-12 19:32:28 +00:00
port to gitlab.
This commit is contained in:
5
themes/custom/layouts/index.json
Normal file
5
themes/custom/layouts/index.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{{- $.Scratch.Add "index" slice -}}
|
||||
{{- range .Site.RegularPages -}}
|
||||
{{- $.Scratch.Add "index" (dict "title" .Title "tags" .Params.tags "categories" .Params.categories "contents" .Plain "permalink" .Permalink) -}}
|
||||
{{- end -}}
|
||||
{{- $.Scratch.Get "index" | jsonify -}}
|
Reference in New Issue
Block a user