diff --git a/archetypes/mentions.md b/archetypes/mentions.md new file mode 100644 index 0000000..b2c1a33 --- /dev/null +++ b/archetypes/mentions.md @@ -0,0 +1,6 @@ +--- +title: '{{ replace .File.ContentBaseName "-" " " | title }}' +date: {{ .Date }} +draft: true +inReplyTo: 'https://example.org' +--- diff --git a/content/_index.md b/content/_index.md index 110c592..4324454 100644 --- a/content/_index.md +++ b/content/_index.md @@ -6,7 +6,7 @@ This is my website (***you*** should have one too. even if you don't think it's ## In my network... {{< rawhtml >}} -Emerald Social iconMastodon +Emerald Social iconMastodon
Forgejo iconMy Forgejo Where I publish code
diff --git a/content/mentions/re-bsky-3ktsycix6b326.md b/content/mentions/re-bsky-3ktsycix6b326.md new file mode 100644 index 0000000..0f70489 --- /dev/null +++ b/content/mentions/re-bsky-3ktsycix6b326.md @@ -0,0 +1,7 @@ +--- +date: 2025-03-17T00:05:03-07:00 +draft: false +inReplyTo: 'https://bsky.app/profile/ziondood.bsky.social/post/3ktsycix6b326' +--- + +This was such an awesome video! It inspired me to start my own StreetPass challenge! diff --git a/content/mentions/re-cutie.md b/content/mentions/re-cutie.md new file mode 100644 index 0000000..2bdfb0d --- /dev/null +++ b/content/mentions/re-cutie.md @@ -0,0 +1,8 @@ +--- +date: 2025-03-16T23:26:39-07:00 +draft: false +inReplyTo: 'https://emeraldsocial.org/@ch0ccyra1n/110521039644173825' +--- + +cute! :3 + diff --git a/content/mentions/re-my-thoughts-on-world-of-goo.md b/content/mentions/re-my-thoughts-on-world-of-goo.md new file mode 100644 index 0000000..ede20ed --- /dev/null +++ b/content/mentions/re-my-thoughts-on-world-of-goo.md @@ -0,0 +1,7 @@ +--- +date: 2025-03-16T23:41:55-07:00 +draft: false +inReplyTo: 'https://ch0ccyra1n.planetexpress.me/posts/my-thoughts-on-world-of-goo/' +--- + +Looking back at this, I think I may have been a bit nostalgic 🥴 diff --git a/content/mentions/re-on-the-beginnings-of-support-for-other-handhelds-and-other-steamos-3-7-0-updates.md b/content/mentions/re-on-the-beginnings-of-support-for-other-handhelds-and-other-steamos-3-7-0-updates.md index f5e5f3e..b2a89d9 100644 --- a/content/mentions/re-on-the-beginnings-of-support-for-other-handhelds-and-other-steamos-3-7-0-updates.md +++ b/content/mentions/re-on-the-beginnings-of-support-for-other-handhelds-and-other-steamos-3-7-0-updates.md @@ -1,9 +1,7 @@ --- -title: 'RE: On The Beginnings of Support for Other Handhelds (and Other SteamOS 3.7.0 Updates)' date: 2025-03-16T23:11:54-07:00 draft: false +inReplyTo: 'https://blog.gardinerbryant.com/2025/on-the-beginnings-of-support-for-other-handhelds-and-other-steamos-3-7-0-updates/' --- -[](https://blog.gardinerbryant.com/2025/on-the-beginnings-of-support-for-other-handhelds-and-other-steamos-3-7-0-updates/) - Glad to see that there's going to be hopefully official support for new devices. While I'm personally happy with my Deck, it's always a good thing when more devices can use SteamOS. Also, congrats on setting up your new blog and indieweb! diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 026ff5f..d17efcb 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,13 +1,11 @@ {{ define "main" }}
+{{ if $.Title }}

{{ .Title }}

-
+{{ end }} {{ partial "metadata.html" . }}

-{{ if $.Params.inReplyTo }} -

In Reply to: {{ .Params.inReplyTo }}

-{{end}} {{ if $.Params.cws }}

Content Warning: {{ range $i, $e := .Params.cws -}}{{- if $i -}}, {{ end -}}{{ $e | humanize }} {{- end -}}

@@ -16,11 +14,13 @@
{{ .Content }}
+ {{ else }}
{{ .Content }}
+ {{ end }}
{{ partial "webmentions.html" . }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ce4a207..3b0b01e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,6 +3,7 @@ + {{ $title := print .Site.Title " | " .Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ $title }} diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index ff275d9..2588180 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -1,9 +1,14 @@ + {{ if .PublishDate }} {{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}

{{ end }} +{{ if $.Params.inReplyTo }} +

In Reply to: {{ .Params.inReplyTo }}

+{{end}} {{ with .Params.tags }} {{ range . }} {{ $href := print (absURL "tags/") (urlize .) }} diff --git a/layouts/partials/webmentions.html b/layouts/partials/webmentions.html index d8d1ee5..99d0fa1 100644 --- a/layouts/partials/webmentions.html +++ b/layouts/partials/webmentions.html @@ -1,4 +1,3 @@ -

Replies