From e2ffa7b3ad920d577cc56fbaaea12a99be125774 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Fri, 1 May 2020 17:35:08 +0200 Subject: Add manifest --- layouts/partials/docs/footer.html | 2 +- layouts/partials/docs/html-head.html | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'layouts/partials/docs') diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html index abb1978..e171077 100644 --- a/layouts/partials/docs/footer.html +++ b/layouts/partials/docs/footer.html @@ -1,4 +1,4 @@ -
+
{{ if .Site.IsMultiLingual }} {{ partial "docs/languages" . }} {{ end }} diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 4b0c62f..905904f 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -1,10 +1,14 @@ + {{- template "_internal/opengraph.html" . -}} {{ partial "docs/title" . }} | {{ .Site.Title -}} + +{{- $manifest := resources.Get "manifest.json" | resources.ExecuteAsTemplate "manifest.json" . }} + {{- range .Translations }} -- cgit v1.2.3