Use relative URL if possible
This commit is contained in:
parent
7a4549e0e6
commit
eb2b29cba0
|
@ -17,21 +17,21 @@
|
||||||
|
|
||||||
<link type="text/css"
|
<link type="text/css"
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="{{ .Site.BaseURL }}css/print.css"
|
href="{{ `css/print.css` | relURL }}"
|
||||||
media="print">
|
media="print">
|
||||||
|
|
||||||
<link type="text/css"
|
<link type="text/css"
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="{{ .Site.BaseURL }}css/poole.css">
|
href="{{ `css/poole.css` | relURL }}">
|
||||||
|
|
||||||
<link type="text/css"
|
<link type="text/css"
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="{{ .Site.BaseURL }}css/hyde.css">
|
href="{{ `css/hyde.css` | relURL }}">
|
||||||
|
|
||||||
{{ partial "theme-color.html" . }}
|
{{ partial "theme-color.html" . }}
|
||||||
|
|
||||||
{{ range $.Site.Params.customCss -}}
|
{{ range $.Site.Params.customCss -}}
|
||||||
<link type="text/css" rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
|
<link type="text/css" rel="stylesheet" href="{{ . | relURL }}">
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
|
|
||||||
{{ range $.Site.Params.customJs -}}
|
{{ range $.Site.Params.customJs -}}
|
||||||
<script src="{{ $.Site.BaseURL }}{{ . }}"></script>
|
<script src="{{ . | relURL }}"></script>
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
{{ if .Truncated }}
|
{{ if .Truncated }}
|
||||||
<div class="read-more-link">
|
<div class="read-more-link">
|
||||||
<a href="{{ .RelPermalink }}">Read More</a>
|
<a href="{{ .Permalink }}">Read More</a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ with .Site.Params.profilePicture }}
|
{{ with .Site.Params.profilePicture }}
|
||||||
<div class="author-image">
|
<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>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
</li>
|
</li>
|
||||||
{{ range .Site.Menus.main -}}
|
{{ range .Site.Menus.main -}}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .URL }}"> {{ .Name }} </a>
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||||
</li>
|
</li>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue