Move partials under paige directory
parent
2340651c82
commit
2ece967314
@ -1,6 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ if not .Params.paige.show_full_pages }}
|
{{ if not .Params.paige.show_full_pages }}
|
||||||
{{ partial "paige-article.html" . }}
|
{{ partial "paige/article.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "paige-pages.html" . }}
|
{{ partial "paige/pages.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "paige-article.html" . }}
|
{{ partial "paige/article.html" . }}
|
||||||
{{ partial "paige-search.html" . }}
|
{{ partial "paige/search.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "paige-article.html" . }}
|
{{ partial "paige/article.html" . }}
|
||||||
{{ partial "paige-comments.html" . }}
|
{{ partial "paige/comments.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "paige-article.html" . }}
|
{{ partial "paige/article.html" . }}
|
||||||
{{ partial "paige-pages.html" . }}
|
{{ partial "paige/pages.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
<article>
|
|
||||||
{{ partial "paige-metadata.html" . }}
|
|
||||||
{{ partial "paige-toc.html" . }}
|
|
||||||
{{ partial "paige-content.html" . }}
|
|
||||||
</article>
|
|
@ -1,9 +0,0 @@
|
|||||||
<head>
|
|
||||||
{{ partial "paige-meta.html" . }}
|
|
||||||
<title>{{ partial "paige-func-title.html" . }}</title>
|
|
||||||
{{ partial "paige-link.html" . }}
|
|
||||||
{{ partial "paige-style.html" . }}
|
|
||||||
{{ if templates.Exists "partials/paige-head-last.html" }}
|
|
||||||
{{ partial "paige-head-last.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
</head>
|
|
@ -1,5 +0,0 @@
|
|||||||
<section>
|
|
||||||
{{ partial "paige-title.html" . }}
|
|
||||||
{{ partial "paige-description.html" . }}
|
|
||||||
{{ partial "paige-other.html" . }}
|
|
||||||
</section>
|
|
@ -0,0 +1,5 @@
|
|||||||
|
<article>
|
||||||
|
{{ partial "paige/metadata.html" . }}
|
||||||
|
{{ partial "paige/toc.html" . }}
|
||||||
|
{{ partial "paige/content.html" . }}
|
||||||
|
</article>
|
@ -0,0 +1,9 @@
|
|||||||
|
<head>
|
||||||
|
{{ partial "paige/meta.html" . }}
|
||||||
|
<title>{{ partial "paige/func-title.html" . }}</title>
|
||||||
|
{{ partial "paige/link.html" . }}
|
||||||
|
{{ partial "paige/style.html" . }}
|
||||||
|
{{ if templates.Exists "partials/paige-head-last.html" }}
|
||||||
|
{{ partial "paige/head-last.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
</head>
|
@ -1,5 +1,5 @@
|
|||||||
{{ if .Site.Menus.main }}
|
{{ if .Site.Menus.main }}
|
||||||
<header>
|
<header>
|
||||||
{{ partial "paige-menu.html" . }}
|
{{ partial "paige/menu.html" . }}
|
||||||
</header>
|
</header>
|
||||||
{{ end }}
|
{{ end }}
|
@ -1,5 +1,5 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
{{ with partial "paige-func-authors.html" . }}
|
{{ with partial "paige/func-authors.html" . }}
|
||||||
<meta content="{{ . }}" name="author">
|
<meta content="{{ . }}" name="author">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .Description }}
|
{{ with .Description }}
|
@ -0,0 +1,5 @@
|
|||||||
|
<section>
|
||||||
|
{{ partial "paige/title.html" . }}
|
||||||
|
{{ partial "paige/description.html" . }}
|
||||||
|
{{ partial "paige/other.html" . }}
|
||||||
|
</section>
|
@ -1,4 +1,4 @@
|
|||||||
{{ $authors := partial "paige-func-authors.html" . }}
|
{{ $authors := partial "paige/func-authors.html" . }}
|
||||||
{{ if or $authors .PublishDate}}
|
{{ if or $authors .PublishDate}}
|
||||||
<p class="text-center text-muted">
|
<p class="text-center text-muted">
|
||||||
{{- with $authors }}{{ . }}{{ end -}}
|
{{- with $authors }}{{ . }}{{ end -}}
|
Loading…
Reference in New Issue