mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 01:32:11 +00:00
Compare commits
2 commits
b491b69f96
...
5b4832df15
Author | SHA1 | Date | |
---|---|---|---|
|
5b4832df15 | ||
|
1a7cc7156c |
6 changed files with 17 additions and 5 deletions
|
@ -33,6 +33,11 @@ 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. */
|
||||
|
|
|
@ -13,7 +13,7 @@ pygmentsUseClasses = false
|
|||
disableKinds = ["taxonomy", "term"]
|
||||
|
||||
[params]
|
||||
description = "Seirdy's Home: personal website and blog for Rohan Kumar, A.K.A. Seirdy"
|
||||
description = "My personal IndieWeb site. I write about and develop software to promote user autonomy. Topics include accessibility, security, privacy, and software freedom."
|
||||
src = "https://sr.ht/~seirdy/seirdy.one/"
|
||||
canonicalBaseURL = "https://seirdy.one" # I have mirrors with different baseURLs
|
||||
webmentionEndpoint = "https://seirdy.one/webmentions/receive"
|
||||
|
|
|
@ -5,7 +5,6 @@ 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
|
||||
|
|
|
@ -25,7 +25,13 @@
|
|||
<link rel="self" type="application/atom+xml" href="{{ .Permalink }}atom.xml" />
|
||||
<logo>{{ $icon_png.Permalink }}</logo>
|
||||
<icon>{{ .Site.Params.icon | absURL }}</icon>
|
||||
<subtitle>{{ .Params.Description }}</subtitle>
|
||||
<subtitle>
|
||||
{{- if .Params.Description -}}
|
||||
{{- .Params.Description -}}
|
||||
{{- else -}}
|
||||
{{- .Site.Params.Description -}}
|
||||
{{- end -}}
|
||||
</subtitle>
|
||||
<sy:updatePeriod>{{ $period }}</sy:updatePeriod>
|
||||
<sy:updateFrequency>2</sy:updateFrequency>
|
||||
<author>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ define "main" -}}
|
||||
<main id="main" tabindex="-1">
|
||||
<h1 id="seirdys-home">Seirdy’s Home</h1>
|
||||
<aside><p>It me.</p></aside>
|
||||
<p itemprop="description">{{ .Site.Params.Description }}</p>
|
||||
<hr />
|
||||
<div class="narrow">
|
||||
{{ partial "processed-content.html" . }}
|
||||
|
|
|
@ -36,9 +36,11 @@
|
|||
{{- end }}
|
||||
<link rel="authorization_endpoint" href="{{ site.Params.IndieAuth }}" />
|
||||
<title>{{ .Title }}{{ if and (lt (len .Title) 54) (ne $canonicalRelPermalink "/") }} - Seirdy{{ end }}</title>
|
||||
{{ $description := .Site.Params.Description -}}
|
||||
{{ $description := "" -}}
|
||||
{{- if .Params.description -}}
|
||||
{{- $description = .Params.Description -}}
|
||||
{{- else if .IsHome -}}
|
||||
{{- $description = .Site.Params.Description -}}
|
||||
{{- else if .Summary -}}
|
||||
{{- $description = .Summary | replaceRE `\n` ` ` | replaceRE `\’` `’` | replaceRE `\ ` `\ ` | replaceRE `\“` `“` | replaceRE `\”` `”` | replaceRE `\…` `—` | replaceRE `\—` `—` | replaceRE `\­` `\­` | replaceRE `‘` `‘` | safeHTML -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in a new issue