1
0
Fork 0
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:
rohan kumar 2020-11-18 17:02:24 -08:00
parent a4874efc07
commit e614497a36
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
3 changed files with 6 additions and 6 deletions

View file

@ -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]

View file

@ -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"

View file

@ -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") -}}