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:
authoramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-01-11 18:10:43 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-01-11 18:10:43 +0300
commitde90278aa0ab5e670fe992102d07092d162e2fac (patch)
tree693a2fab3ec588f8b7283274899e7e70c9282da9 /layouts
parent19c7d37cd2272ddc22a2457a659bae1ae61eef18 (diff)
Add last modified date and Google Site Verification.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html7
-rw-r--r--layouts/partials/head.html1
2 files changed, 7 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index d22dccf..dd94884 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -37,10 +37,15 @@
<div class="post-body-wrapper">
<div class="post-body">
{{.Content}}
+ <HR width="100%">
+ <p style="color:#777;">Last modified on {{ .Page.Lastmod.Format "2006-01-02" }}</p>
</div>
+
</div>
-
+
+
<nav class="post-pagination">
+
{{if .Next}}
<a class="newer-posts" href="{{.Next.Permalink}}">
Next<br>{{.Next.Title}}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 2bfbb01..23ddbe6 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -3,6 +3,7 @@
<meta charset="utf-8">
<meta name="X-UA-Compatible" content="IE=edge">
+<meta name="google-site-verification" content="{{.Site.Params.googleSiteVerification}}">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta content="telephone=no" name="format-detection">
<meta name="renderer" content="webkit">