Add func prefix to func templates

This commit is contained in:
Will Faught
2022-12-19 17:18:00 -08:00
parent 4d84560390
commit bd156f6251
6 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<head>
{{ partial "paige-meta.html" . }}
<title>{{ partial "paige-titles.html" . }}</title>
<title>{{ partial "paige-func-title.html" . }}</title>
{{ partial "paige-link.html" . }}
{{ partial "paige-style.html" . }}
{{ if templates.Exists "partials/paige-head-last.html" }}

View File

@@ -12,7 +12,7 @@
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/katex@0.16.3/dist/katex.min.css" integrity="sha384-Juol1FqnotbkyZUT5Z7gUPjQ9gzlwCENvUZTpQBAPxtusdwFLRy382PSDx5UUJ4/" rel="stylesheet">
{{ end }}
{{ if .AlternativeOutputFormats }}
{{ $title := partial "paige-titles.html" . }}
{{ $title := partial "paige-func-title.html" . }}
{{ range .AlternativeOutputFormats }}
<link href="{{ .Permalink }}" rel="{{ .Rel }}" title="{{ $title }}" type="{{ .MediaType.Type }}">
{{ end }}

View File

@@ -1,4 +1,4 @@
{{ $authors := partial "paige-authors.html" . }}
{{ $authors := partial "paige-func-authors.html" . }}
{{ if or $authors .PublishDate}}
<p class="text-center text-muted">
{{- with $authors }}{{ . }}{{ end -}}