diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_default/baseof.html | 8 | ||||
| -rw-r--r-- | layouts/partials/custom_head.html | 2 | ||||
| -rw-r--r-- | layouts/shortcodes/recent-posts.html | 6 |
3 files changed, 12 insertions, 4 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 72b2954..21454e4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -12,8 +12,12 @@ {{ with .OutputFormats.Get "rss" -}} {{ printf ` <link rel="%s" type="%s" href="%s" title="%s" /> - ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{- - partial "style.html" . -}} + ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} + {{- partial "style.html" . -}} + + <!-- {{- partial "style-min.html" . -}} --> + + <!-- A partial to be overwritten by the user. Simply place a custom_head.html into diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html index 051d3d9..5d5c1ed 100644 --- a/layouts/partials/custom_head.html +++ b/layouts/partials/custom_head.html @@ -1,12 +1,10 @@ <meta name="msvalidate.01" content="2E1AACF009206F2DDBAAD4B98E881460" /> -<meta name="fediverse:creator" content="@Verdant@c7.io" /> <link rel="prefetch" as="image" href="https://www.blogsclub.org/badge/www.glowisle.me" /> <link href="https://github.com/yingyu5658" rel="me" /> -<link href="https://c7.io/@Verdant" rel="me" /> <link rel="webmention" href="https://webmention.io/www.glowisle.me/webmention" diff --git a/layouts/shortcodes/recent-posts.html b/layouts/shortcodes/recent-posts.html index b2a6637..ea6ed2b 100644 --- a/layouts/shortcodes/recent-posts.html +++ b/layouts/shortcodes/recent-posts.html @@ -8,6 +8,12 @@ word-wrap: break-word; } </style> + +<!-- <div class="recent-posts"> --> +<!-- {{ range $index, $page := $recent }} --> +<!-- {{ end }} --> +<!-- </div> --> + <div class="recent-posts"> {{ if $recent }} {{ range $index, $page := $recent }} <div class="recent-posts-item"> |
