aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/function-favicon-domain.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/function-favicon-domain.html')
-rw-r--r--themes/default/layouts/partials/function-favicon-domain.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/function-favicon-domain.html b/themes/default/layouts/partials/function-favicon-domain.html
new file mode 100644
index 0000000..3814304
--- /dev/null
+++ b/themes/default/layouts/partials/function-favicon-domain.html
@@ -0,0 +1,11 @@
+{{- $input := . -}}
+
+{{- $output :=
+ (print
+ "https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&size=64&url="
+ "http://"
+ $input
+ )
+-}}
+
+{{- return $output -}}