mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 23:09:47 +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 }}
|
||||
|
||||
{{ $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}}
|
||||
<link rel="stylesheet" href="{{.}}?t={{$t}}">
|
||||
{{ end }}
|
||||
|
||||
{{ 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}}
|
||||
<link rel="stylesheet" href="{{.}}">
|
||||
{{end}}
|
||||
|
@ -70,9 +70,9 @@ crossorigin="anonymous"></script>
|
|||
<!-- Icon -->
|
||||
<link rel="shortcut icon"
|
||||
{{ if .Site.Params.faviconfile }}
|
||||
href="{{ .Site.BaseURL }}{{ .Site.Params.faviconfile }}"
|
||||
href="{{ .Site.Params.faviconfile }}"
|
||||
{{ else }}
|
||||
href="{{ .Site.BaseURL }}img/favicon.ico"
|
||||
href="img/favicon.ico"
|
||||
{{ end }}
|
||||
>
|
||||
|
||||
|
|
Loading…
Reference in a new issue