mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-25 01:26:31 -05:00
🐶 Changed absolute path to relative path
there is no need to be an absolute path becouse there is a canonifyurls option.
This commit is contained in:
parent
f1de1742c5
commit
5e7d82f192
5 changed files with 14 additions and 14 deletions
|
@ -14,8 +14,8 @@ pygmentsUseClasses = true
|
||||||
Profiles, backgrounds, favorite things etc.
|
Profiles, backgrounds, favorite things etc.
|
||||||
"""
|
"""
|
||||||
publicationYear = "2018"
|
publicationYear = "2018"
|
||||||
# custom_css = ["css/custom.css"]
|
# custom_css = ["/css/custom.css"]
|
||||||
# custom_js = ["js/custom.js"]
|
# custom_js = ["/js/custom.js"]
|
||||||
|
|
||||||
[[params.nav]]
|
[[params.nav]]
|
||||||
name = "Blog"
|
name = "Blog"
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
<div class="profile">
|
<div class="profile">
|
||||||
<div class="profile-body">
|
<div class="profile-body">
|
||||||
<div class="avatar">
|
<div class="avatar">
|
||||||
<img class="avatar-mask" src="{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}">
|
<img class="avatar-mask" src="/img/{{ .Site.Params.avatar }}">
|
||||||
<img src="{{ .Site.BaseURL }}img/avatar-border.svg">
|
<img src="/img/avatar-border.svg">
|
||||||
</div>
|
</div>
|
||||||
<h1 class="author">{{ .Site.Params.Author }}</h1>
|
<h1 class="author">{{ .Site.Params.Author }}</h1>
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<p>
|
||||||
© {{ .Site.Params.publicationYear }} {{ .Site.Params.Author }}.
|
© {{ .Site.Params.publicationYear }} {{ .Site.Params.Author }}.
|
||||||
Powered by <a href="https://gohugo.io/" target="_blank">Hugo</a>
|
Powered by <a href="https://gohugo.io/">Hugo</a>
|
||||||
using the <a href="https://github.com/koirand/pulp/">pulp</a> theme.
|
using the <a href="https://github.com/koirand/pulp/">pulp</a> theme.
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
<script src="{{ .Site.BaseURL }}js/main.js"></script>
|
<script src="/js/main.js"></script>
|
||||||
{{- range .Site.Params.custom_js -}}
|
{{- range .Site.Params.custom_js -}}
|
||||||
<script src="{{ $.Site.BaseURL }}{{ . }}"></script>
|
<script src="{{ . }}"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="author" content="{{ .Site.Author }}" />
|
<meta name="author" content="{{ .Site.Author }}" />
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}img/favicon.ico">
|
<link rel="shortcut icon" type="image/x-icon" href="/img/favicon.ico">
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
|
<link rel="stylesheet" href="/css/style.css">
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/markdown.css">
|
<link rel="stylesheet" href="/css/markdown.css">
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/syntax-highlight.css">
|
<link rel="stylesheet" href="/css/syntax-highlight.css">
|
||||||
{{ range .Site.Params.custom_css }}
|
{{ range .Site.Params.custom_css }}
|
||||||
<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
|
<link rel="stylesheet" href="{{ . }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<title>
|
<title>
|
||||||
{{ if eq .Title .Site.Title }}
|
{{ if eq .Title .Site.Title }}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<header>
|
<header>
|
||||||
<div class="avatar">
|
<div class="avatar">
|
||||||
<img class="avatar-mask" src="{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}">
|
<img class="avatar-mask" src="/img/{{ .Site.Params.avatar }}">
|
||||||
<a href="/"><img src="{{ .Site.BaseURL }}img/avatar-border.svg"></a>
|
<a href="/"><img src="/img/avatar-border.svg"></a>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
Loading…
Reference in a new issue