summaryrefslogtreecommitdiffstats
path: root/themes/aoidh/layouts/_partials/head
diff options
context:
space:
mode:
Diffstat (limited to 'themes/aoidh/layouts/_partials/head')
-rw-r--r--themes/aoidh/layouts/_partials/head/css.html3
-rw-r--r--themes/aoidh/layouts/_partials/head/js.html16
2 files changed, 0 insertions, 19 deletions
diff --git a/themes/aoidh/layouts/_partials/head/css.html b/themes/aoidh/layouts/_partials/head/css.html
deleted file mode 100644
index dec8013..0000000
--- a/themes/aoidh/layouts/_partials/head/css.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{{- with resources.Get "css/aoidh.css" }}
- <link rel="stylesheet" href="{{ .RelPermalink }}">
-{{- end }}
diff --git a/themes/aoidh/layouts/_partials/head/js.html b/themes/aoidh/layouts/_partials/head/js.html
deleted file mode 100644
index 16ffbed..0000000
--- a/themes/aoidh/layouts/_partials/head/js.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{{- with resources.Get "js/main.js" }}
- {{- $opts := dict
- "minify" (not hugo.IsDevelopment)
- "sourceMap" (cond hugo.IsDevelopment "external" "")
- "targetPath" "js/main.js"
- }}
- {{- with . | js.Build $opts }}
- {{- if hugo.IsDevelopment }}
- <script src="{{ .RelPermalink }}"></script>
- {{- else }}
- {{- with . | fingerprint }}
- <script src="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"></script>
- {{- end }}
- {{- end }}
- {{- end }}
-{{- end }}