Just don't put /elsewhere stuff on Gemini
It looks like shit.
This commit is contained in:
@@ -49,6 +49,7 @@ tasks:
|
|||||||
DITHER_SERVER=http://localhost:4567 \
|
DITHER_SERVER=http://localhost:4567 \
|
||||||
hugo --minify
|
hugo --minify
|
||||||
find public -name "*.enc" -type f -delete
|
find public -name "*.enc" -type f -delete
|
||||||
|
find public/elsewhere -name "*.gmi" -type f -delete
|
||||||
|
|
||||||
# Sync files to production server
|
# Sync files to production server
|
||||||
- deploy: |
|
- deploy: |
|
||||||
|
|||||||
@@ -51,7 +51,8 @@
|
|||||||
{{- $content = $content | replaceRE `(?m)^ \*` "* ⇢" -}}
|
{{- $content = $content | replaceRE `(?m)^ \*` "* ⇢" -}}
|
||||||
{{- $content = $content | replaceRE `(?m)^- ` "* " -}}
|
{{- $content = $content | replaceRE `(?m)^- ` "* " -}}
|
||||||
{{- $content = $content | replaceRE `(?m)^[\*-]{3}$` "✱ ✱ ✱" -}}
|
{{- $content = $content | replaceRE `(?m)^[\*-]{3}$` "✱ ✱ ✱" -}}
|
||||||
{{- $content = $content | replaceRE `=> (/.+\.pdf)` (printf "=> %s$1" site.BaseURL) -}}
|
{{- $content = $content | replaceRE `=> /(.+\.pdf)` (printf "=> %s$1" site.BaseURL) -}}
|
||||||
|
{{- $content = $content | replaceRE `=> /(elsewhere[^ ])` (printf "=> %s$1" site.BaseURL) -}}
|
||||||
{{- $content = $content | replaceRE `(?m)\n{3,}` "\n\n" }}
|
{{- $content = $content | replaceRE `(?m)\n{3,}` "\n\n" }}
|
||||||
|
|
||||||
{{- $content | safeHTML -}}
|
{{- $content | safeHTML -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user