Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndries <andries.vanhumbeeck@outlook.com>2020-06-12 13:07:16 +0300
committerAndries <andries.vanhumbeeck@outlook.com>2020-06-12 13:07:16 +0300
commitb257cfbd8d28d347f8cb29250f2d68b1628319e1 (patch)
tree8677afc141440cca4eea39d87d1e64c3925d862a
parentd28dc8d1725b6b7dde11b6831fd52b771108dcd9 (diff)
add optional manifest file
-rw-r--r--layouts/partials/head.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index a43b9b7..daf88de 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -38,6 +38,10 @@
<link type="text/css" rel="stylesheet" href="{{"/vendor/css/bootstrap.min.css" | relURL}}">
<script src="{{"/vendor/js/vue.min.js" | relURL}}" ></script>
+{{if .Site.Params.manifest}}
+<link rel="manifest" href="{{.Site.Params.manifest}}">
+{{end}}
+
{{ if .Site.Params.favicon }}
<link rel="icon" href="{{ .Site.Params.favicon }}">
<!-- favicon -->