mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-02-15 08:01:12 +01:00
Fix: remove submodule
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{{- with or .Description .Summary site.Params.description | plainify | htmlUnescape | chomp }}
|
||||
<meta name="description" content="{{ . }}">
|
||||
{{- end }}
|
||||
@@ -0,0 +1 @@
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
@@ -0,0 +1 @@
|
||||
{{- /* You can put scripts and styles in this file, e.g. Google Analytics */ -}}
|
||||
@@ -0,0 +1 @@
|
||||
{{- /* You can preload scripts in this file */ -}}
|
||||
@@ -0,0 +1,3 @@
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .RelPermalink site.Title | safeHTML }}
|
||||
{{ end }}
|
||||
10
themes/hugo-theme-yue/layouts/_partials/head/scss.html
Normal file
10
themes/hugo-theme-yue/layouts/_partials/head/scss.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{ $opts := dict "transpiler" "libsass" "targetPath" "css/style.css" }}
|
||||
{{- with resources.Get "scss/main.scss" | toCSS $opts }}
|
||||
{{- if eq hugo.Environment "development" }}
|
||||
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
||||
{{- else }}
|
||||
{{- with . | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user