Initial check-in after refactoring to use Hugo site generator with ReLearn template. HTTP Status Codes page not done--nor adwords added.
This commit is contained in:
7
themes/relearn/layouts/index.json
Normal file
7
themes/relearn/layouts/index.json
Normal file
@ -0,0 +1,7 @@
|
||||
{{- $pages := slice }}
|
||||
{{- range .Site.Pages }}
|
||||
{{- if and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSearchHiddenPages true) ) }}
|
||||
{{- $pages = $pages | append (dict "uri" .RelPermalink "title" .Title "tags" .Params.tags "description" .Description "content" (.Plain | htmlUnescape)) }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- $pages | jsonify (dict "indent" " ") }}
|
||||
Reference in New Issue
Block a user