fix back links

This commit is contained in:
Kaan Barmore-Genç 2022-12-02 00:35:26 -05:00
parent 20a0a0456b
commit 8086aa2fc3
Signed by: kaan
GPG Key ID: B2E280771CD62FCF
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
{{ define "main" }}
<header>
<a href="/">Back to my blog</a>
<h1>{{ $.Site.Title }}</h1>
{{- if $.Site.Params.theme_config.show_description -}}
<p>{{ $.Site.Params.description }}</p>

View File

@ -1 +1 @@
<a href="{{ "/" | relURL }}">{{ $.Site.Params.theme_config.back_home_text }}</a>
<a href="{{ .Site.BaseURL | relURL }}">{{ $.Site.Params.theme_config.back_home_text }}</a>