mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 01:42:10 +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
|
||||
# disablePathToLower = true
|
||||
# uglyurls = true
|
||||
uglyurls = true
|
||||
pygmentsCodeFences = true
|
||||
pygmentsUseClasses = true
|
||||
|
||||
|
@ -24,14 +24,14 @@ name = "Rohan Kumar"
|
|||
identifier = "posts"
|
||||
name = "posts"
|
||||
title = "posts"
|
||||
url = "/posts/"
|
||||
url = "/posts.html"
|
||||
weight = 10
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "about"
|
||||
name = "about"
|
||||
title = "about"
|
||||
url = "/about/"
|
||||
url = "/about.html"
|
||||
weight = 20
|
||||
|
||||
[permalinks]
|
||||
|
|
|
@ -24,4 +24,4 @@ esac
|
|||
|
||||
rsync -rvzP --exclude "gemini" --exclude "*.gmi" public/ "$www_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 = $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" -}}
|
||||
{{ if not (eq $dark "off") -}}
|
||||
|
|
Loading…
Reference in a new issue