From 315ef8039962b59d7e789de32397bba18d4d98b7 Mon Sep 17 00:00:00 2001 From: ch0ccyra1n <ch0ccyra1n@riseup.net> Date: Mon, 17 Mar 2025 15:37:27 -0700 Subject: [PATCH] stuff --- archetypes/mentions.md | 6 ++++++ content/_index.md | 2 +- content/mentions/re-bsky-3ktsycix6b326.md | 7 +++++++ content/mentions/re-cutie.md | 8 ++++++++ content/mentions/re-my-thoughts-on-world-of-goo.md | 7 +++++++ ...for-other-handhelds-and-other-steamos-3-7-0-updates.md | 4 +--- layouts/_default/single.html | 8 ++++---- layouts/partials/head.html | 1 + layouts/partials/metadata.html | 5 +++++ layouts/partials/webmentions.html | 1 - 10 files changed, 40 insertions(+), 9 deletions(-) create mode 100644 archetypes/mentions.md create mode 100644 content/mentions/re-bsky-3ktsycix6b326.md create mode 100644 content/mentions/re-cutie.md create mode 100644 content/mentions/re-my-thoughts-on-world-of-goo.md 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 >}} -<a href="https://emeraldsocial.org/@ch0ccyra1n"><img style="display: inline; width: 20px;" src="https://us-southeast-1.linodeobjects.com/emeraldsocial/accounts/avatars/109/567/779/541/278/445/original/c0529048fe098ceb.png" alt="Emerald Social icon">Mastodon</a> +<a rel="me" href="https://emeraldsocial.org/@ch0ccyra1n"><img style="display: inline; width: 20px;" src="https://us-southeast-1.linodeobjects.com/emeraldsocial/accounts/avatars/109/567/779/541/278/445/original/c0529048fe098ceb.png" alt="Emerald Social icon">Mastodon</a> <br> <a href="https://forge.planetexpress.me/ch0ccyra1n"><img style="display: inline; width: 20px;" src="https://forge.planetexpress.me/assets/img/favicon.png" alt="Forgejo icon">My Forgejo</a> Where I publish code <br> 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" }} <article class="h-entry"> +{{ if $.Title }} <h1 class="p-name">{{ .Title }}</h1> -<p class="p-author" style="display: none;">{{ .Site.Author.Name }}</p> <hr> +{{ end }} {{ partial "metadata.html" . }} <br><br> -{{ if $.Params.inReplyTo }} -<p rel="in-reply-to" class="u-in-reply-to">In Reply to: {{ .Params.inReplyTo }}</p> -{{end}} {{ if $.Params.cws }} <p>Content Warning: {{ range $i, $e := .Params.cws -}}{{- if $i -}}, {{ end -}}{{ $e | humanize }} {{- end -}}</p> @@ -16,11 +14,13 @@ <div class="e-content"> {{ .Content }} </div> + <a class="u-bridgy-fed" href="https://fed.brid.gy/" hidden="from-humans"></a> </label> {{ else }} <div class="e-content"> {{ .Content }} </div> +<a class="u-bridgy-fed" href="https://fed.brid.gy/" hidden="from-humans"></a> {{ end }} </article> {{ 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 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" href="/css/style.css"> <link rel="webmention" href="https://webmention.io/ch0ccyra1n.gitlab.io/webmention"/> + <link rel="alternate" type="application/rss+xml" title="RSS" href="https://ch0ccyra1n.planetexpress.me/feed"> {{ $title := print .Site.Title " | " .Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} <title>{{ $title }}</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 @@ <a class="u-url" href="{{ .Permalink }}"></a> +<a style="display: none;" class="p-author h-card" href="https://ch0ccyra1n.planetexpress.me">ch0ccyra1n <img class="u-photo" src="/images/profile.png" /> +</a> {{ if .PublishDate }} {{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} <p><time class="dt-published" datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time></p> {{ end }} +{{ if $.Params.inReplyTo }} +<p>In Reply to: <a rel="in-reply-to" class="u-in-reply-to" href="{{ .Params.inReplyTo}}">{{ .Params.inReplyTo }}</a></p> +{{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 @@ -<a class="u-bridgy-fed" href="https://fed.brid.gy/" hidden="from-humans"></a> <h3>Replies</h3> <div id="webmentions"></div> <details>