Make use of proper relURL everywhere so site works in sub directory. Fix for setting custom height in figure shortcode.
This commit is contained in:
parent
aca6312503
commit
73cc0bfc89
1 changed files with 21 additions and 12 deletions
|
|
@ -1,3 +1,3 @@
|
|||
<link rel="preload" as="style" href="/css/styles.css{{ if $.Param "cacheBustCSS" }}?{{ readFile "/public/css/styles.css" | sha1 }}{{ end }}">
|
||||
<link rel="stylesheet" href="/css/styles.css{{ if $.Param "cacheBustCSS" }}?{{ readFile "/public/css/styles.css" | sha1 }}{{ end }}">
|
||||
<link rel="stylesheet" href="/css/print.css" media="print">
|
||||
<link rel="preload" as="style" href="{{ "/css/styles.css" | relURL }}{{ if $.Param "cacheBustCSS" }}?{{ readFile "/public/css/styles.css" | sha1 }}{{ end }}">
|
||||
<link rel="stylesheet" href="{{ "/css/styles.css" | relURL }}{{ if $.Param "cacheBustCSS" }}?{{ readFile "/public/css/styles.css" | sha1 }}{{ end }}">
|
||||
<link rel="stylesheet" href="{{ "/css/print.css" | relURL }}" media="print">
|
||||
|
|
|
|||
Loading…
Reference in a new issue