1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2025-02-25 15:50:05 +00:00

Compare commits

..

No commits in common. "5b4832df1578924399c5148b12f20bb14f33968c" and "b491b69f9697a0ffcfdd3d16ba24bdde3a5c39d4" have entirely different histories.

6 changed files with 5 additions and 17 deletions

View file

@ -33,11 +33,6 @@ html {
/* Nearly every page on my site is taller than the viewport.
* Paint the scrollbar ASAP to prevent layout shifts. */
overflow-y: scroll;
/* Site is already mobile optimized.
* Don't screw up landscape mode. */
-webkit-text-size-adjust: none;
text-size-adjust: none;
}
/* This should not take effect on printouts, to save paper. */

View file

@ -13,7 +13,7 @@ pygmentsUseClasses = false
disableKinds = ["taxonomy", "term"]
[params]
description = "My personal IndieWeb site. I write about and develop software to promote user autonomy. Topics include accessibility, security, privacy, and software freedom."
description = "Seirdy's Home: personal website and blog for Rohan Kumar, A.K.A. Seirdy"
src = "https://sr.ht/~seirdy/seirdy.one/"
canonicalBaseURL = "https://seirdy.one" # I have mirrors with different baseURLs
webmentionEndpoint = "https://seirdy.one/webmentions/receive"

View file

@ -5,6 +5,7 @@ outputs:
- atom
- RSS
title: Seirdy's Home
description: "Seirdy's Home: personal website and blog for Rohan Kumar, A.K.A. Seirdy. I write about and develop software to promote user autonomy."
sitemap:
- ChangeFreq: weekly
- Priority: 0.9

View file

@ -25,13 +25,7 @@
<link rel="self" type="application/atom+xml" href="{{ .Permalink }}atom.xml" />
<logo>{{ $icon_png.Permalink }}</logo>
<icon>{{ .Site.Params.icon | absURL }}</icon>
<subtitle>
{{- if .Params.Description -}}
{{- .Params.Description -}}
{{- else -}}
{{- .Site.Params.Description -}}
{{- end -}}
</subtitle>
<subtitle>{{ .Params.Description }}</subtitle>
<sy:updatePeriod>{{ $period }}</sy:updatePeriod>
<sy:updateFrequency>2</sy:updateFrequency>
<author>

View file

@ -1,7 +1,7 @@
{{ define "main" -}}
<main id="main" tabindex="-1">
<h1 id="seirdys-home">Seirdys Home</h1>
<p itemprop="description">{{ .Site.Params.Description }}</p>
<aside><p>It me.</p></aside>
<hr />
<div class="narrow">
{{ partial "processed-content.html" . }}

View file

@ -36,11 +36,9 @@
{{- end }}
<link rel="authorization_endpoint" href="{{ site.Params.IndieAuth }}" />
<title>{{ .Title }}{{ if and (lt (len .Title) 54) (ne $canonicalRelPermalink "/") }} - Seirdy{{ end }}</title>
{{ $description := "" -}}
{{ $description := .Site.Params.Description -}}
{{- if .Params.description -}}
{{- $description = .Params.Description -}}
{{- else if .IsHome -}}
{{- $description = .Site.Params.Description -}}
{{- else if .Summary -}}
{{- $description = .Summary | replaceRE `\n` ` ` | replaceRE `\&rsquo;` `` | replaceRE `\&nbsp;` `\&#160;` | replaceRE `\&ldquo;` `“` | replaceRE `\&rdquo;` `”` | replaceRE `\&hellip;` `—` | replaceRE `\&mdash;` `—` | replaceRE `\&shy;` `\&#173;` | replaceRE `&lsquo;` `` | safeHTML -}}
{{- end -}}