Move paige.list.content.show to paige.section_pages.full_pages
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{{ define "main" }}
|
||||
{{ $page := . }}
|
||||
|
||||
{{ if $page.Param "paige.list.content.show" | not }}
|
||||
{{ if $page.Param "paige.section_pages.full_pages" | not }}
|
||||
{{ partial "paige/article.html" $page }}
|
||||
{{ end }}
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
{{ partial "paige/link.html" (dict "href" "paige/bootstrap/bootstrap.css") }}
|
||||
{{ end }}
|
||||
|
||||
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.list.content.show") (where $page.Pages "Params.paige.math" "eq" true)) }}
|
||||
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.section_pages.full_pages") (where $page.Pages "Params.paige.math" "eq" true)) }}
|
||||
{{ partial "paige/link.html" (dict "href" "paige/katex/katex.css") }}
|
||||
{{ end }}
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{{ $page := . }}
|
||||
|
||||
{{ if $page.Pages }}
|
||||
{{ if $page.Param "paige.list.content.show" }}
|
||||
{{ if $page.Param "paige.section_pages.full_pages" }}
|
||||
{{ $p := $page.Paginate $page.Pages }}
|
||||
<section id="paige-pages">
|
||||
{{ range $p.Pages }}
|
||||
|
@@ -43,7 +43,7 @@ addEventListener("resize", paigeResize);
|
||||
</script>
|
||||
{{ partial "paige/script.html" (dict "src" "paige/bootstrap/bootstrap.bundle.js") }}
|
||||
|
||||
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.list.content.show") (where $page.Pages "Params.paige.math" "eq" true)) }}
|
||||
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.section_pages.full_pages") (where $page.Pages "Params.paige.math" "eq" true)) }}
|
||||
{{ partial "paige/script.html" (dict "src" "paige/katex/katex.js") }}
|
||||
{{ partial "paige/script.html" (dict "onload" "renderMathInElement(document.body);" "src" "paige/katex/auto-render.js") }}
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user