summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/JustZvan/assets/js/main.js1
-rw-r--r--themes/JustZvan/layouts/_partials/head.html1
-rw-r--r--themes/JustZvan/layouts/_partials/head/js.html16
3 files changed, 0 insertions, 18 deletions
diff --git a/themes/JustZvan/assets/js/main.js b/themes/JustZvan/assets/js/main.js
deleted file mode 100644
index e2aac52..0000000
--- a/themes/JustZvan/assets/js/main.js
+++ /dev/null
@@ -1 +0,0 @@
-console.log('This site was generated by Hugo.');
diff --git a/themes/JustZvan/layouts/_partials/head.html b/themes/JustZvan/layouts/_partials/head.html
index 02c2240..6312251 100644
--- a/themes/JustZvan/layouts/_partials/head.html
+++ b/themes/JustZvan/layouts/_partials/head.html
@@ -2,4 +2,3 @@
<meta name="viewport" content="width=device-width">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
{{ partialCached "head/css.html" . }}
-{{ partialCached "head/js.html" . }}
diff --git a/themes/JustZvan/layouts/_partials/head/js.html b/themes/JustZvan/layouts/_partials/head/js.html
deleted file mode 100644
index 16ffbed..0000000
--- a/themes/JustZvan/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 }}