mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 09:42:09 +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.
|
/* Nearly every page on my site is taller than the viewport.
|
||||||
* Paint the scrollbar ASAP to prevent layout shifts. */
|
* Paint the scrollbar ASAP to prevent layout shifts. */
|
||||||
overflow-y: scroll;
|
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. */
|
/* This should not take effect on printouts, to save paper. */
|
||||||
|
|
|
@ -13,7 +13,7 @@ pygmentsUseClasses = false
|
||||||
disableKinds = ["taxonomy", "term"]
|
disableKinds = ["taxonomy", "term"]
|
||||||
|
|
||||||
[params]
|
[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/"
|
src = "https://sr.ht/~seirdy/seirdy.one/"
|
||||||
canonicalBaseURL = "https://seirdy.one" # I have mirrors with different baseURLs
|
canonicalBaseURL = "https://seirdy.one" # I have mirrors with different baseURLs
|
||||||
webmentionEndpoint = "https://seirdy.one/webmentions/receive"
|
webmentionEndpoint = "https://seirdy.one/webmentions/receive"
|
||||||
|
|
|
@ -5,7 +5,6 @@ outputs:
|
||||||
- atom
|
- atom
|
||||||
- RSS
|
- RSS
|
||||||
title: Seirdy's Home
|
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:
|
sitemap:
|
||||||
- ChangeFreq: weekly
|
- ChangeFreq: weekly
|
||||||
- Priority: 0.9
|
- Priority: 0.9
|
||||||
|
|
|
@ -25,7 +25,13 @@
|
||||||
<link rel="self" type="application/atom+xml" href="{{ .Permalink }}atom.xml" />
|
<link rel="self" type="application/atom+xml" href="{{ .Permalink }}atom.xml" />
|
||||||
<logo>{{ $icon_png.Permalink }}</logo>
|
<logo>{{ $icon_png.Permalink }}</logo>
|
||||||
<icon>{{ .Site.Params.icon | absURL }}</icon>
|
<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:updatePeriod>{{ $period }}</sy:updatePeriod>
|
||||||
<sy:updateFrequency>2</sy:updateFrequency>
|
<sy:updateFrequency>2</sy:updateFrequency>
|
||||||
<author>
|
<author>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ define "main" -}}
|
{{ define "main" -}}
|
||||||
<main id="main" tabindex="-1">
|
<main id="main" tabindex="-1">
|
||||||
<h1 id="seirdys-home">Seirdy’s Home</h1>
|
<h1 id="seirdys-home">Seirdy’s Home</h1>
|
||||||
<aside><p>It me.</p></aside>
|
<p itemprop="description">{{ .Site.Params.Description }}</p>
|
||||||
<hr />
|
<hr />
|
||||||
<div class="narrow">
|
<div class="narrow">
|
||||||
{{ partial "processed-content.html" . }}
|
{{ partial "processed-content.html" . }}
|
||||||
|
|
|
@ -36,9 +36,11 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<link rel="authorization_endpoint" href="{{ site.Params.IndieAuth }}" />
|
<link rel="authorization_endpoint" href="{{ site.Params.IndieAuth }}" />
|
||||||
<title>{{ .Title }}{{ if and (lt (len .Title) 54) (ne $canonicalRelPermalink "/") }} - Seirdy{{ end }}</title>
|
<title>{{ .Title }}{{ if and (lt (len .Title) 54) (ne $canonicalRelPermalink "/") }} - Seirdy{{ end }}</title>
|
||||||
{{ $description := .Site.Params.Description -}}
|
{{ $description := "" -}}
|
||||||
{{- if .Params.description -}}
|
{{- if .Params.description -}}
|
||||||
{{- $description = .Params.Description -}}
|
{{- $description = .Params.Description -}}
|
||||||
|
{{- else if .IsHome -}}
|
||||||
|
{{- $description = .Site.Params.Description -}}
|
||||||
{{- else if .Summary -}}
|
{{- else if .Summary -}}
|
||||||
{{- $description = .Summary | replaceRE `\n` ` ` | replaceRE `\’` `’` | replaceRE `\ ` `\ ` | replaceRE `\“` `“` | replaceRE `\”` `”` | replaceRE `\…` `—` | replaceRE `\—` `—` | replaceRE `\­` `\­` | replaceRE `‘` `‘` | safeHTML -}}
|
{{- $description = .Summary | replaceRE `\n` ` ` | replaceRE `\’` `’` | replaceRE `\ ` `\ ` | replaceRE `\“` `“` | replaceRE `\”` `”` | replaceRE `\…` `—` | replaceRE `\—` `—` | replaceRE `\­` `\­` | replaceRE `‘` `‘` | safeHTML -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in a new issue