Rename func-title.html to title.html

master
Will Faught 2 years ago
parent f51197145f
commit d0ddcbbb19

@ -3,7 +3,7 @@
{{ $limit := site.Config.Services.RSS.Limit }} {{ $limit := site.Config.Services.RSS.Limit }}
{{ $pages := "" }} {{ $pages := "" }}
{{ $pagesource := cond $page.IsHome site $page }} {{ $pagesource := cond $page.IsHome site $page }}
{{ $title := partial "paige/func-title.html" $page }} {{ $title := partial "paige/title.html" $page }}
{{ if or $page.IsHome $page.IsSection }} {{ if or $page.IsHome $page.IsSection }}
{{ $pages = $pagesource.RegularPages }} {{ $pages = $pagesource.RegularPages }}

@ -7,7 +7,7 @@
{{ partial "paige/metas.html" $page }} {{ partial "paige/metas.html" $page }}
<title>{{ partial "paige/func-title.html" $page }}</title> <title>{{ partial "paige/title.html" $page }}</title>
{{ partial "paige/links.html" $page }} {{ partial "paige/links.html" $page }}
{{ partial "paige/style.html" $page }} {{ partial "paige/style.html" $page }}

@ -26,7 +26,7 @@
{{ end }} {{ end }}
{{ if .AlternativeOutputFormats }} {{ if .AlternativeOutputFormats }}
{{ $title := partial "paige/func-title.html" $page }} {{ $title := partial "paige/title.html" $page }}
{{ range .AlternativeOutputFormats }} {{ range .AlternativeOutputFormats }}
<link href="{{ .Permalink | safeURL }}" rel="{{ .Rel }}" title="{{ $title }}" type="{{ .MediaType.Type }}"> <link href="{{ .Permalink | safeURL }}" rel="{{ .Rel }}" title="{{ $title }}" type="{{ .MediaType.Type }}">
{{ end }} {{ end }}

Loading…
Cancel
Save