Change singles to page
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{{ define "main" }}
|
||||
{{ if eq .Type "singles" }}
|
||||
{{- partial "single.html" . -}}
|
||||
{{ if eq .Type "page" }}
|
||||
{{- partial "page.html" . -}}
|
||||
{{ else }}
|
||||
{{- partial "list.html" . -}}
|
||||
{{ end }}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{{- partial "post.html" . -}}
|
||||
{{ end }}
|
||||
|
||||
{{ if eq .Type "singles" }}
|
||||
{{- partial "single.html" . -}}
|
||||
{{ if eq .Type "page" }}
|
||||
{{- partial "page.html" . -}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user