summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/sidebar.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 5ce773f..8384905 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -8,7 +8,7 @@
{{ else }}
{{ with .Site.Params.profilePicture }}
<div class="author-image">
- <img src="{{ $.Site.BaseURL }}{{ . }}" class="img-circle img-headshot center" alt="Profile Picture">
+ <img src="{{ . | relURL }}" class="img-circle img-headshot center" alt="Profile Picture">
</div>
{{ end }}
{{ end }}
@@ -27,7 +27,7 @@
</li>
{{ range .Site.Menus.main -}}
<li>
- <a href="{{ .URL }}"> {{ .Name }} </a>
+ <a href="{{ .URL }}">{{ .Name }}</a>
</li>
{{- end }}
</ul>