mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Fix: fix relative links on different domains
This commit is contained in:
parent
a4874efc07
commit
e614497a36
3 changed files with 6 additions and 6 deletions
|
@ -5,7 +5,7 @@ theme = "etch-custom"
|
||||||
|
|
||||||
enableInlineShortcodes = true
|
enableInlineShortcodes = true
|
||||||
# disablePathToLower = true
|
# disablePathToLower = true
|
||||||
# uglyurls = true
|
uglyurls = true
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
pygmentsUseClasses = true
|
pygmentsUseClasses = true
|
||||||
|
|
||||||
|
@ -24,14 +24,14 @@ name = "Rohan Kumar"
|
||||||
identifier = "posts"
|
identifier = "posts"
|
||||||
name = "posts"
|
name = "posts"
|
||||||
title = "posts"
|
title = "posts"
|
||||||
url = "/posts/"
|
url = "/posts.html"
|
||||||
weight = 10
|
weight = 10
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "about"
|
identifier = "about"
|
||||||
name = "about"
|
name = "about"
|
||||||
title = "about"
|
title = "about"
|
||||||
url = "/about/"
|
url = "/about.html"
|
||||||
weight = 20
|
weight = 20
|
||||||
|
|
||||||
[permalinks]
|
[permalinks]
|
||||||
|
|
|
@ -24,4 +24,4 @@ esac
|
||||||
|
|
||||||
rsync -rvzP --exclude "gemini" --exclude "*.gmi" public/ "$www_prefix/"
|
rsync -rvzP --exclude "gemini" --exclude "*.gmi" public/ "$www_prefix/"
|
||||||
rsync -rvzP --exclude "*.html" public/gemini/ public/about public/posts "$gemini_prefix/"
|
rsync -rvzP --exclude "*.html" public/gemini/ public/about public/posts "$gemini_prefix/"
|
||||||
rsync -rvzP public/posts/gemini/index.xml "$gemini_prefix/feed.xml"
|
rsync -rvzP public/posts/gemini.xml "$gemini_prefix/feed.xml"
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
|
|
||||||
{{ $resources := slice -}}
|
{{ $resources := slice -}}
|
||||||
|
|
||||||
{{ $resources = $resources | append (resources.Get "css/main.css") -}}
|
{{ $resources = $resources | append (resources.Get "/css/main.css") -}}
|
||||||
|
|
||||||
{{ $resources = $resources | append (resources.Get "css/min770px.css") -}}
|
{{ $resources = $resources | append (resources.Get "/css/min770px.css") -}}
|
||||||
|
|
||||||
{{ $dark := .Site.Params.dark | default "auto" -}}
|
{{ $dark := .Site.Params.dark | default "auto" -}}
|
||||||
{{ if not (eq $dark "off") -}}
|
{{ if not (eq $dark "off") -}}
|
||||||
|
|
Loading…
Reference in a new issue