mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Switch log-url back to markdown logs
Some posts have different content on markdown versus gemini, so use different log urls.
This commit is contained in:
parent
c9f13e8ab5
commit
0b225ebff6
1 changed files with 0 additions and 2 deletions
|
@ -9,8 +9,6 @@
|
|||
{{- if or (eq .Page.Section "notes") (eq .Page.Title "Notes") -}}
|
||||
{{- $isNotes = true -}}
|
||||
{{- $action = "Noted" -}}
|
||||
{{- else -}}
|
||||
{{- $logURL = $logURL | strings.ReplaceRE `\.md` `.gmi` -}}
|
||||
{{- end -}}
|
||||
{{- $needsModTime := gt (sub .Lastmod.Unix .Date.Unix) 900 -}}
|
||||
{{- $needsList := or (and (not $shortMeta) $needsModTime) (not $isNotes) -}}
|
||||
|
|
Loading…
Reference in a new issue