Use relative URL if possible
This commit is contained in:
parent
7a4549e0e6
commit
eb2b29cba0
3 changed files with 8 additions and 8 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue