diff --git a/config.toml b/config.toml index 4b64e20e..9d281ae7 100644 --- a/config.toml +++ b/config.toml @@ -11,7 +11,7 @@ canonifyURLs = true relativeURLs = true enableRobotsTXT = true -enableGitInfo = false +enableGitInfo = true enableEmoji = true disableRSS = false diff --git a/content/donation-error.md b/content/donation-error.md index eeaec8d9..4847f806 100644 --- a/content/donation-error.md +++ b/content/donation-error.md @@ -1,6 +1,9 @@ --- title: Oops! emoji: 😰 +type: site-infra +_build: + list: never --- Something went wrong while trying to register your donation. If you weren't using the form on the [thanks page](../thanks/) then please try there, otherwise please [reach out to me by email](../standing-invitation/). diff --git a/content/donation-registered.md b/content/donation-registered.md index a540869c..fe3258f2 100644 --- a/content/donation-registered.md +++ b/content/donation-registered.md @@ -1,6 +1,9 @@ --- title: Thank you! emoji: 🙇‍♂️ +type: site-infra +_build: + list: never --- Thank you so much! It makes me _enormously_ happy that you're appreciating my work, and doubly so that you're willing to share what you have with others on my behalf. diff --git a/content/friends.md b/content/friends.md index ad1c2e47..4f931567 100644 --- a/content/friends.md +++ b/content/friends.md @@ -1,7 +1,6 @@ --- title: "Friends online" emoji: 🫶 -date: 2023-03-01T09:12:37-03:00 draft: false type: timeless --- diff --git a/themes/hello-friend-ng/layouts/_default/single.html b/themes/hello-friend-ng/layouts/_default/single.html index f1964e30..5a202344 100644 --- a/themes/hello-friend-ng/layouts/_default/single.html +++ b/themes/hello-friend-ng/layouts/_default/single.html @@ -63,61 +63,59 @@
-
- {{ partial "tags.html" .Params.tags }} - {{ partial "series-tags.html" . }} + {{ if ne .Type "site-infra" }} +
+ {{ partial "tags.html" .Params.tags }} + {{ partial "series-tags.html" . }} -

- - - - - - - - {{ i18n "wordCount" .Page.WordCount }} -

+

+ + + + + + + + {{ i18n "wordCount" .Page.WordCount }} +

- {{ if in .Params.tags "from-tumblr" }} -

- - From tumblr archive -

- {{ end }} - -

- - - - - - - - {{ if .Site.Params.dateformNumTime }} - {{ dateFormat .Site.Params.dateformNumTime .Date }} - {{ else }} - {{ dateFormat "2006-01-02 15:04" .Date }} + {{ if in .Params.tags "from-tumblr" }} +

+ + From tumblr archive +

{{ end }} - - {{ if .Lastmod }} - {{ if not (eq .Lastmod .Date )}} - {{ if .Site.Params.dateformNumTime }} - ({{ i18n "lastModified" }}: {{ dateFormat .Site.Params.dateformNumTime .Lastmod.Local }}) - {{ else }} - ({{ i18n "lastModified" }}: {{ dateFormat "2006-01-02 15:04" .Lastmod.Local }}) - {{ end }} + {{ if .Lastmod }} + {{ $date := .Date}} + {{ if not .Date }} + {{ $date = .Lastmod }} {{ end }} +

+ + + + + + + + {{ if .Site.Params.dateformNumTime }} + {{ dateFormat .Site.Params.dateformNumTime $date }} + {{ else }} + {{ dateFormat "2006-01-02 15:04" $date }} + {{ end }} + +

{{ end }} -

-
+
-
-
- {{ partial "syndication.html" . }} -
+
+
+ {{ partial "syndication.html" . }} +
- {{ partial "pagination-single.html" . }} + {{ partial "pagination-single.html" . }} + {{ end }} {{ if .Page.Store.Get "hasMermaid" }}