Use minimum header sizes

This commit is contained in:
Will Faught
2025-03-04 17:54:32 -08:00
parent 91920613a8
commit 9f4fa00c75
5 changed files with 39 additions and 4 deletions

View File

@@ -107,7 +107,7 @@
{{ range $subpage := $subpages }}
{{ if not (.Param "paige.exclude_feeds") }}
<entry>
{{ $content := partial "paige/func-minify.html" (dict "content" .Content) }}
{{ $content := partial "paige/func-content.html" $subpage }}
{{ $external := and .Params.link (not (.Param "paige.feeds.disable_link")) | not | not }}
{{ $id := printf "tag:%s,%s:%s" (urls.Parse site.BaseURL).Host (.PublishDate.Format "2006-01-02") .RelPermalink }}
{{ $lastmod := .Lastmod.Format $date }}
@@ -117,6 +117,8 @@
{{ $link := cond $external .Params.link .Permalink }}
{{ $content = partial "paige/func-minify.html" (dict "content" $content) }}
{{ if and $content $external }}
{{ $text := or (.Param "paige.feeds.page_link" | markdownify) "⏎" }}