diff --git a/assets/js/share-event.js b/assets/js/share-event.js
new file mode 100644
index 0000000..730f90a
--- /dev/null
+++ b/assets/js/share-event.js
@@ -0,0 +1,3 @@
+function share_event(service) {
+ // this function does nothing by default
+}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 22f8c3d..b2e79d2 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -12,9 +12,13 @@
{{ with resources.Get "css/syntax-light.css" | fingerprint "sha512" }}
{{ end }}
+
{{ with resources.Get "js/back-to-top.js" | fingerprint "sha512" }}
{{ end }}
+ {{ with resources.Get "js/share-event.js" | fingerprint "sha512" }}
+
+ {{ end }}
{{ with .Site.Params.faviconSVG }}
diff --git a/layouts/partials/share.html b/layouts/partials/share.html
index d9c8e96..236064e 100644
--- a/layouts/partials/share.html
+++ b/layouts/partials/share.html
@@ -3,6 +3,7 @@
@@ -12,6 +13,7 @@
{{- partial "icon.html" "facebook" -}}
@@ -21,6 +23,7 @@
{{- partial "icon.html" "linkedin" -}}
@@ -30,6 +33,7 @@
{{- partial "icon.html" "reddit" -}}
@@ -42,6 +46,7 @@
{{- partial "icon.html" "telegram" -}}