💄 Add custom files support just enjoy by yourself.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
{{- if hugo.IsProduction }}
|
||||
{{- $css = $css | minify | fingerprint }}
|
||||
{{- end }}
|
||||
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
|
||||
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
|
||||
{{- if .IsPage }}
|
||||
<style type="text/css">
|
||||
.post-footer, .flinks-list-footer hr:after {
|
||||
@@ -32,4 +32,9 @@
|
||||
}
|
||||
</style>
|
||||
{{- end }}
|
||||
|
||||
{{- $custom := .Scratch.Get "style" }}
|
||||
{{- if $custom }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $custom }}">
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user