fix permalink issues

This commit is contained in:
saadnpq 2020-04-16 20:21:05 +02:00
parent 64b5141d46
commit acfc0d8358
3 changed files with 6 additions and 5 deletions

View File

@ -11,5 +11,5 @@
{{- partial "footer.html" . -}}
</main>
</body>
<script src={{"/js/navbutton.js" | absURL }}></script>
<script src={{"js/navbutton.js" | absURL }}></script>
</html>

View File

@ -1,10 +1,11 @@
<aside id="sidenav">
<header>
{{if eq .Site.Params.useAvatar true}}
<a href="{{ .Site.BaseURL }}"><img src="/avatar.png" alt="avatar"></a>
<a href={{ "" | absURL }}><img src="{{ "avatar.png" | absURL }}" alt="avatar"></a>
{{end}}
<a id="branding" href="{{ .Site.BaseURL }}">
<a id="branding" href={{ "" | absURL }}>
{{with .Site.Params.logo}}
{{ . | safeHTML }}
{{else}}

View File

@ -10,8 +10,8 @@
{{- with .Site.Params.keywords -}}
<meta name="keywords" content="{{.}}">
{{ end -}}
<link rel="stylesheet" href={{ "/css/syntax.css" | absURL }}>
<link rel="stylesheet" href={{ "/css/style.css" | absURL }}>
<link rel="stylesheet" href={{ "css/syntax.css" | absURL }}>
<link rel="stylesheet" href={{ "css/style.css" | absURL }}>
<script src="https://kit.fontawesome.com/1b7478c139.js" crossorigin="anonymous"></script>
<title>{{ .Site.Title }}</title>
</head>