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

github.com/xiaoheiAh/hugo-theme-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorotis <hdzee19@gmail.com>2019-10-12 14:17:47 +0300
committerotis <hdzee19@gmail.com>2019-10-12 14:17:47 +0300
commit0df69cea55085c1b1d4ec6be8aa6c4f45015444d (patch)
tree10b23bbc02836b3cfed19cedc3d106508e6412a1
parentdfd724d29124edc3debb76cc41f87ec1f947850c (diff)
update index page title
-rw-r--r--layouts/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 60c02bc..60a1cce 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -10,7 +10,9 @@
itemtype="http://schema.org/BlogPosting"
>
<div class="article-header">
+ {{- .Scratch.Set "class_name" "article-title" }}
{{ partial "post/title.html" . -}}
+ {{- .Scratch.Delete "class_name"}}
</div>
{{- if .Summary }}
<div class="article-entry text-muted" itemprop="description">