update gemini configuration
This commit is contained in:
parent
f36c1c66dd
commit
1affb572b2
3 changed files with 35 additions and 15 deletions
|
@ -118,7 +118,7 @@ notAlternative = true
|
||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
home = [ "HTML", "gopher", "gemini", "ATOM", "JSON", "HumansTXT", "Tootpick"]
|
home = [ "HTML", "gopher", "gemini", "ATOM", "JSON", "HumansTXT", "Tootpick"]
|
||||||
section = [ "HTML", "gopher" ]
|
section = [ "HTML" ]
|
||||||
page = [ "HTML", "gopher", "gemini" ]
|
page = [ "HTML", "gopher", "gemini" ]
|
||||||
taxonomy = [ "HTML", "gopher" ]
|
taxonomy = [ "HTML", "gopher" ]
|
||||||
#taxonomyTerm = [ "HTML" ]
|
#taxonomyTerm = [ "HTML" ]
|
||||||
|
|
|
@ -1,15 +1,13 @@
|
||||||
# {{ .Title }}
|
# {{ .Title }}
|
||||||
|
|
||||||
{{ .RawContent }}
|
{{ $content := .RawContent -}}
|
||||||
|
{{ $content := $content | replaceRE `{{<\s*(?:rel)?ref\s+"([^"]+)"\s*>}}` "$1" -}}
|
||||||
|
{{ $content := $content | replaceRE `{{<\s*figure\s*(?:.*)?src="([^"]+)"(?:.*)?caption="([^"]+)"(?:.*)?>}}` "" -}}
|
||||||
|
{{ $content := $content | replaceRE `{{<\s*image\s*.*?src="([^"]+)".*?>}}` "" -}}
|
||||||
|
{{ $content := $content | replaceRE `\!\[(.+?)\]\((.+?)\)` "=> $2 Image: $1" -}}
|
||||||
|
|
||||||
{{- $content := .RawContent -}}
|
|
||||||
{{- $content = $content | replaceRE `\!\[(.+?)\]\((.+?)\)` "=> $2 Image: $1" }}
|
|
||||||
{{ $content }}
|
{{ $content }}
|
||||||
|
|
||||||
{{- range findRE `\[.+?\]\(.+?\)` $content }}
|
|
||||||
{{- $content = $content | replaceRE `\[(.+?)\]\((.+?)\)(.+)` "$1$3\n\n=> $2 $1 " }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{ if .Next }}=> {{ .Next.RelPermalink }} ← Newer: {{ .Next.Title }}{{ end }}
|
{{ if .Next }}=> {{ .Next.RelPermalink }} ← Newer: {{ .Next.Title }}{{ end }}
|
||||||
{{ if .Prev -}}=> {{ .Prev.RelPermalink }} → Older: {{ .Prev.Title }}{{- end }}
|
{{ if .Prev -}}=> {{ .Prev.RelPermalink }} → Older: {{ .Prev.Title }}{{- end }}
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,36 @@
|
||||||
## List of posts
|
# oe7drt.com
|
||||||
|
|
||||||
{{ range .RegularPages }}
|
Welcome to my personal Gemini space!
|
||||||
|
|
||||||
|
This is my personal space on the internet that I use mainly to keep track on
|
||||||
|
different topics mainly on tech stuff like amateur radio or general computer
|
||||||
|
related topics with some flavour of Linux and networking (and a bit of *BSD)
|
||||||
|
|
||||||
|
I will probably also publish more non-tech stuff within the Outdoor and DIY
|
||||||
|
categories on the equipment page.
|
||||||
|
|
||||||
|
=> gopher://oe7drt.com/ View via Gopher
|
||||||
|
=> https://oe7drt.com/ View via HTTPS
|
||||||
|
=> http://5uxkejb6la7olhncaotybxrscmdlbxwy64ucuyrum4tsgfuoxbyav2qd.onion/ View via Tor Hidden Service
|
||||||
|
|
||||||
|
=> /about/ About this Gemini capsule
|
||||||
|
=> /archives/ Archives
|
||||||
|
|
||||||
|
## Pages
|
||||||
|
|
||||||
|
{{ range (where .RegularPages "Params.gemini" "ne" "false") }}
|
||||||
=> {{ .RelPermalink }} {{ .Title }}
|
=> {{ .RelPermalink }} {{ .Title }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
## Posts grouped by year
|
## Notes
|
||||||
|
|
||||||
{{ range .RegularPages.GroupByDate "2006" }}
|
{{ range (where (where .Site.RegularPages.ByDate.Reverse "Section" "in" (slice "notes")) ".Params.gemini" "ne" "false") }}
|
||||||
### {{ .Key }}
|
|
||||||
{{ range .Pages.ByDate.Reverse }}
|
|
||||||
=> {{ .RelPermalink }} {{ .Title }}
|
=> {{ .RelPermalink }} {{ .Title }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ end }}
|
|
||||||
|
## Equipment
|
||||||
|
|
||||||
|
{{ range (where (where .Site.RegularPages.ByDate.Reverse "Section" "in" (slice "equipment")) ".Params.gemini" "ne" "false") }}
|
||||||
|
=> {{ .RelPermalink }} {{ .Title }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue