summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/_index.md1
-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
4 files changed, 0 insertions, 19 deletions
diff --git a/content/_index.md b/content/_index.md
index 336cc79..a7dc5b7 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -9,4 +9,3 @@ socials:
---
hobbyist developer from Croatia 🇭🇷
-
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 }}