fix permalink issues
This commit is contained in:
parent
64b5141d46
commit
acfc0d8358
3 changed files with 6 additions and 5 deletions
|
@ -11,5 +11,5 @@
|
||||||
{{- partial "footer.html" . -}}
|
{{- partial "footer.html" . -}}
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
<script src={{"/js/navbutton.js" | absURL }}></script>
|
<script src={{"js/navbutton.js" | absURL }}></script>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
<aside id="sidenav">
|
<aside id="sidenav">
|
||||||
<header>
|
<header>
|
||||||
{{if eq .Site.Params.useAvatar true}}
|
{{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}}
|
{{end}}
|
||||||
|
|
||||||
<a id="branding" href="{{ .Site.BaseURL }}">
|
<a id="branding" href={{ "" | absURL }}>
|
||||||
{{with .Site.Params.logo}}
|
{{with .Site.Params.logo}}
|
||||||
{{ . | safeHTML }}
|
{{ . | safeHTML }}
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
{{- with .Site.Params.keywords -}}
|
{{- with .Site.Params.keywords -}}
|
||||||
<meta name="keywords" content="{{.}}">
|
<meta name="keywords" content="{{.}}">
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
<link rel="stylesheet" href={{ "/css/syntax.css" | absURL }}>
|
<link rel="stylesheet" href={{ "css/syntax.css" | absURL }}>
|
||||||
<link rel="stylesheet" href={{ "/css/style.css" | absURL }}>
|
<link rel="stylesheet" href={{ "css/style.css" | absURL }}>
|
||||||
<script src="https://kit.fontawesome.com/1b7478c139.js" crossorigin="anonymous"></script>
|
<script src="https://kit.fontawesome.com/1b7478c139.js" crossorigin="anonymous"></script>
|
||||||
<title>{{ .Site.Title }}</title>
|
<title>{{ .Site.Title }}</title>
|
||||||
</head>
|
</head>
|
Loading…
Reference in a new issue