1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00

Compare commits

..

No commits in common. "9ae8d879080632def11a9539a77c0ddf3281c328" and "add67b2e0c6da4b763f279186bf49d0bbe66883d" have entirely different histories.

5 changed files with 1 additions and 20 deletions

View file

@ -124,10 +124,6 @@ disableKinds = ["taxonomy", "term"]
about = ["HTML", "atom", "RSS"] about = ["HTML", "atom", "RSS"]
meta = ["HTML", "atom", "RSS"] meta = ["HTML", "atom", "RSS"]
[security]
[security.funcs]
getenv = ['^JOB_URL$']
# https://github.com/nekr0z/static-webmentions # https://github.com/nekr0z/static-webmentions
[webmentions] [webmentions]
newDir = "public" newDir = "public"

View file

@ -5,8 +5,6 @@ outputs:
- html - html
description: "About this site. How it's built, why it's built that way, privacy, accessibility, mirrors, etc." description: "About this site. How it's built, why it's built that way, privacy, accessibility, mirrors, etc."
--- ---
{{<build-info>}}
How I run this site How I run this site
------------------- -------------------

View file

@ -52,7 +52,6 @@
<admin:errorReportsTo rdf:resource="mailto:{{ .Site.Author.email }}" /> <admin:errorReportsTo rdf:resource="mailto:{{ .Site.Author.email }}" />
<link rel="license" type="application/rdf+xml" href="https://creativecommons.org/licenses/by-sa/4.0/rdf" /> <link rel="license" type="application/rdf+xml" href="https://creativecommons.org/licenses/by-sa/4.0/rdf" />
<updated>{{ now.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated> <updated>{{ now.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
<generator uri="https://gohugo.io/" version="{{ .Site.Hugo.Version }}">Hugo {{ .Site.Hugo.Version }}</generator>
<id>{{ .Permalink }}</id> <id>{{ .Permalink }}</id>
{{ range $pages -}} {{ range $pages -}}
{{- if not .Params.Private -}} {{- if not .Params.Private -}}

View file

@ -1,12 +0,0 @@
{{- $now := now -}}
{{- $buildCtx := "on my workstation" -}}
{{- with getenv "JOB_URL" -}}
{{- $buildCtx = printf `<a href="%s">on builds.sr.ht</a>` . | safeHTML -}}
{{- end -}}
<p>
This site was last built on
<time datetime="{{ $now.Format "2006-01-02T15:04:05-07:00" | safeHTML }}">{{ $now.Format "2006-01-02 15:04:05-07:00" | safeHTML }}</time>
by
<a href="https://github.com/gohugoio/hugo/tree/{{ .Site.Hugo.CommitHash }}">Hugo {{ .Site.Hugo.Version }}</a>
{{ $buildCtx }}.
</p>

View file

@ -49,7 +49,7 @@ trap check_cached_webmentions EXIT
# Grab my long-lived key (password). We will use this to authenticate. # Grab my long-lived key (password). We will use this to authenticate.
key() { key() {
set +u set +u
if [ -n "$JOB_URL" ]; then if [ -n "$BUILD_SUBMITTER" ]; then
cat ~/.webmentiond-key cat ~/.webmentiond-key
else else
pash show webmentiond-ci-key pash show webmentiond-ci-key