mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-13 00:39:45 +00:00
Fixed asset links.
This commit is contained in:
parent
2815a5b2c7
commit
a9243c42d3
1 changed files with 4 additions and 4 deletions
|
@ -53,14 +53,14 @@ crossorigin="anonymous"></script>
|
||||||
{{ if .Site.Params.cachebuster }}
|
{{ if .Site.Params.cachebuster }}
|
||||||
|
|
||||||
{{ $t := now.Unix }}
|
{{ $t := now.Unix }}
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.themestyle }}-style.css?t={{$t}}">
|
<link rel="stylesheet" href="css/{{ .Site.Params.themestyle }}-style.css?t={{$t}}">
|
||||||
{{range .Site.Params.extracssfiles}}
|
{{range .Site.Params.extracssfiles}}
|
||||||
<link rel="stylesheet" href="{{.}}?t={{$t}}">
|
<link rel="stylesheet" href="{{.}}?t={{$t}}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.themestyle }}-style.css">
|
<link rel="stylesheet" href="css/{{ .Site.Params.themestyle }}-style.css">
|
||||||
{{range .Site.Params.extracssfiles}}
|
{{range .Site.Params.extracssfiles}}
|
||||||
<link rel="stylesheet" href="{{.}}">
|
<link rel="stylesheet" href="{{.}}">
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -70,9 +70,9 @@ crossorigin="anonymous"></script>
|
||||||
<!-- Icon -->
|
<!-- Icon -->
|
||||||
<link rel="shortcut icon"
|
<link rel="shortcut icon"
|
||||||
{{ if .Site.Params.faviconfile }}
|
{{ if .Site.Params.faviconfile }}
|
||||||
href="{{ .Site.BaseURL }}{{ .Site.Params.faviconfile }}"
|
href="{{ .Site.Params.faviconfile }}"
|
||||||
{{ else }}
|
{{ else }}
|
||||||
href="{{ .Site.BaseURL }}img/favicon.ico"
|
href="img/favicon.ico"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue