Unify HTML and RSS titles

This commit is contained in:
Will Faught
2022-12-11 02:01:53 -08:00
parent 10382fed51
commit 602a71e593
6 changed files with 28 additions and 13 deletions

View File

@@ -3,6 +3,9 @@
{{ if or .Site.Params.math .Params.math }}
<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_title.html" . }}
{{ range .AlternativeOutputFormats }}
<link href="{{ .Permalink }}" rel="{{ .Rel }}" title="{{ $.Site.Title }}" type="{{ .MediaType.Type }}">
<link href="{{ .Permalink }}" rel="{{ .Rel }}" title="{{ $title }}" type="{{ .MediaType.Type }}">
{{ end }}
{{ end }}