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