summaryrefslogtreecommitdiff
path: root/themes/trek/layouts/partials/head
diff options
context:
space:
mode:
Diffstat (limited to 'themes/trek/layouts/partials/head')
-rw-r--r--themes/trek/layouts/partials/head/css.html9
-rw-r--r--themes/trek/layouts/partials/head/js.html12
2 files changed, 0 insertions, 21 deletions
diff --git a/themes/trek/layouts/partials/head/css.html b/themes/trek/layouts/partials/head/css.html
deleted file mode 100644
index 91b928d..0000000
--- a/themes/trek/layouts/partials/head/css.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{{- with resources.Get "css/main.css" }}
- {{- 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 }}
diff --git a/themes/trek/layouts/partials/head/js.html b/themes/trek/layouts/partials/head/js.html
deleted file mode 100644
index 18fe842..0000000
--- a/themes/trek/layouts/partials/head/js.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{{- with resources.Get "js/main.js" }}
- {{- if eq hugo.Environment "development" }}
- {{- with . | js.Build }}
- <script src="{{ .RelPermalink }}"></script>
- {{- end }}
- {{- else }}
- {{- $opts := dict "minify" true }}
- {{- with . | js.Build $opts | fingerprint }}
- <script src="{{ .RelPermalink }}" integrity="{{- .Data.Integrity }}" crossorigin="anonymous"></script>
- {{- end }}
- {{- end }}
-{{- end }}