combine blog and djangostatic
This commit is contained in:
1
blog/assets/static
Symbolic link
1
blog/assets/static
Symbolic link
@@ -0,0 +1 @@
|
||||
../../static
|
||||
@@ -25,7 +25,3 @@ outputFormats:
|
||||
RSS:
|
||||
mediatype: "application/rss"
|
||||
baseName: "rss"
|
||||
module:
|
||||
mounts:
|
||||
- source: ../static
|
||||
target: assets
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
{{ partial "html-meta.html" . -}}
|
||||
<title>{{ if not (or .IsHome .IsSection) }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
||||
{{ $css := resources.Get "style.scss" | resources.ToCSS (dict "transpiler" "dartsass" "enableSourceMap" false) | resources.Fingerprint }}
|
||||
{{ $css := resources.Get "static/style.scss" | resources.ToCSS (dict "transpiler" "dartsass" "enableSourceMap" false) | resources.Fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
|
||||
{{ with .Site.Params.favicon -}}
|
||||
<link rel="shortcut icon" href="{{ . }}" type="image/x-icon">
|
||||
|
||||
Reference in New Issue
Block a user