mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Bump Hugo version
This commit is contained in:
parent
1b246082da
commit
9bf8444c49
15 changed files with 20 additions and 3345 deletions
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
|
@ -30,9 +30,9 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HUGO_VERSION: 0.125.4
|
||||
PAGEFIND_VERSION: 1.1.0
|
||||
TASK_VERSION: 3.36.0
|
||||
HUGO_VERSION: 0.140.2
|
||||
PAGEFIND_VERSION: 1.3.0
|
||||
TASK_VERSION: 3.40.1
|
||||
steps:
|
||||
- name: Install Hugo CLI
|
||||
run: |
|
||||
|
|
|
@ -10,8 +10,9 @@ enableGitInfo = true
|
|||
enableEmoji = true
|
||||
disableRSS = false
|
||||
|
||||
[pagination]
|
||||
# Why 97? Cos. Cos it's a prime number?
|
||||
paginate = 97
|
||||
pageSize = 97
|
||||
|
||||
[frontmatter]
|
||||
date = ["date", "publishDate", "lastmod", ":git"]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: Cognative bias in space exploration
|
||||
date: "2024-10-16T06:50:02Z"
|
||||
emoji: "\U0001F680"
|
||||
publishDate: 2024-10-13T16:19+0100
|
||||
publishDate: "2024-10-13T16:19:00+0100"
|
||||
bookmarkOf: http://www.antipope.org/charlie/blog-static/2024/10/conceptual-models-of-space-col.html
|
||||
references:
|
||||
bookmark:
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: Reading lists
|
||||
emoji: 📚
|
||||
date: 2023-10-24 08:08:08 BST
|
||||
date: "2023-10-24T08:08:08+0100"
|
||||
summary: The collection of RSS feeds I subscribe to, parcelled up so you can subscribe easily too.
|
||||
outputs:
|
||||
- html
|
||||
|
|
|
@ -4,6 +4,6 @@ summary: A webcomic of romance and math humor.
|
|||
feed:
|
||||
rss: https://xkcd.com/rss.xml
|
||||
url: https://xkcd.com/
|
||||
date: 2005-09-31
|
||||
date: "2005-09-30"
|
||||
---
|
||||
Probably the oldest feed I've had in my inbox. Randall Monroe has been posting there since 2005 (I first subscribed in my first term at university, so the same rough timeframe). It's nerdy as hell, and I love it.
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
<link>{{ .Permalink | absURL }}</link>
|
||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Params.Author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Params.Author.email }}
|
||||
<webMaster>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||
{{- with .OutputFormats.Get "RSS" -}}
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
{{- else -}}
|
||||
<p class="author h-card hidden" aria-hidden="true">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
|
||||
<a href="{{ .Site.BaseURL | absURL }}" rel="author" class="p-author u-url">{{ .Site.Author.name }}</a>
|
||||
<a href="{{ .Site.BaseURL | absURL }}" rel="author" class="p-author u-url">{{ .Site.Params.Author.name }}</a>
|
||||
</p>
|
||||
{{- end -}}
|
||||
</div>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</p>
|
||||
<p class="author h-card hidden" aria-hidden="true">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
|
||||
<a href="{{ .Site.BaseURL | absURL }}" rel="author" class="p-author u-url">{{ .Site.Author.name }}</a>
|
||||
<a href="{{ .Site.BaseURL | absURL }}" rel="author" class="p-author u-url">{{ .Site.Params.Author.name }}</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="footer__inner">
|
||||
<div class="footer__content">
|
||||
{{ if .Site.Params.footer.trademark }}<span>© {{ now.Format "2006" }}</span>{{ end }}
|
||||
{{ if .Site.Params.footer.author }}<span><a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a></span>{{ end }}
|
||||
{{ if .Site.Params.footer.author }}<span><a href="{{ .Site.BaseURL }}">{{ .Site.Params.Author.name }}</a></span>{{ end }}
|
||||
{{ if .Site.Params.footer.copyright }}<span>{{ .Site.Copyright| safeHTML }}</span>{{ end }}
|
||||
{{ if .Site.Params.footer.rss }}<span><a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a></span>{{ end }}
|
||||
{{ range .Site.Params.footer.topText }}<span>{{ . | safeHTML}}</span>{{ end }}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
</p>
|
||||
<p class="author h-card hidden" aria-hidden="true">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
|
||||
<a href="{{ .Site.BaseURL | absURL }}" rel="author" class="p-author u-url">{{ .Site.Author.name }}</a>
|
||||
<a href="{{ .Site.BaseURL | absURL }}" rel="author" class="p-author u-url">{{ .Site.Params.Author.name }}</a>
|
||||
</p>
|
||||
</div>
|
|
@ -6,7 +6,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
|
||||
<meta name="author" content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ range .Site.Author }}{{ . }} {{ end }}{{ end }}"/>
|
||||
<meta name="author" content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ range .Site.Params.Author }}{{ . }} {{ end }}{{ end }}"/>
|
||||
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.homeSubtitle }}{{ else }}{{ if .Params.Description }}{{ .Params.Description }}{{ else }}{{ .Summary | plainify }}{{ end }}{{ end }}" class="p-summary"/>
|
||||
<meta name="keywords" content="{{ .Site.Params.keywords }}{{ if .Params.tags }}{{ range .Params.tags }}, {{ . }}{{ end }}{{ end }}"/>
|
||||
<meta name="theme-color" content="{{ .Site.Params.themeColor }}"/>
|
||||
|
@ -40,7 +40,7 @@
|
|||
{{- end }}
|
||||
<link href="/css/postcards.css" rel="stylesheet" type="text/css">
|
||||
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) -}}
|
||||
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Fingerprint -}}
|
||||
{{ $style := resources.Get "scss/main.scss" | css.Sass $options | resources.Fingerprint -}}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
||||
{{ range $val := $.Site.Params.customCSS -}}
|
||||
{{ if le (len $val) 0 }}{{ continue }}{{ end -}}
|
||||
|
|
|
@ -33,6 +33,6 @@
|
|||
{{ end }}
|
||||
<p class="author h-card hidden" aria-hidden="true">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
|
||||
<a href="{{ .Site.BaseURL | absURL }}" rel="author" class="p-author u-url">{{ .Site.Author.name }}</a>
|
||||
<a href="{{ .Site.BaseURL | absURL }}" rel="author" class="p-author u-url">{{ .Site.Params.Author.name }}</a>
|
||||
</p>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
{{ $mailto := delimit (slice "mailto:" site.Author.email "?subject=Re:%20" ( .Title | htmlEscape ) "&body=" (htmlEscape "Hi JP!\n\nI was reading your blog…")) "" }}
|
||||
{{ $mailto := delimit (slice "mailto:" site.Params.Author.email "?subject=Re:%20" ( .Title | htmlEscape ) "&body=" (htmlEscape "Hi JP!\n\nI was reading your blog…")) "" }}
|
||||
{{ partial "syndication-ref.html" (dict "type" "email" "link" $mailto) }}
|
||||
|
||||
{{ range .Params.syndications }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<opml xmlns:frss="https://freshrss.org/opml" version="2.0">
|
||||
<opml version="2.0">
|
||||
<head>
|
||||
<title>byJP.me Feeds</title>
|
||||
<dateCreated>Wed, 20 Sep 2023 08:44:22 +0100</dateCreated>
|
||||
|
|
Loading…
Reference in a new issue