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

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDurand D'souza <durand1@gmail.com>2016-10-18 07:42:27 +0300
committerDurand D'souza <durand1@gmail.com>2016-10-18 07:42:27 +0300
commit508d35ddbd27bb7d72e945a8e3b8b785ebbeff1f (patch)
treea62df59073578b1eab8df24acafcc4a319f22831
parentfc48015b1f6b5ba20b39b50bb78d5ff266f8946a (diff)
Cleaned up tags list a little.
-rw-r--r--exampleSite/config.toml4
-rw-r--r--layouts/_default/terms.html13
2 files changed, 3 insertions, 14 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 24e0213..1a3b0bd 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -4,7 +4,7 @@ title = "HPSTR"
theme = "hpstr"
pluralizelisttitles = false
PygmentsCodeFences = true
-Paginate = 3
+Paginate = 5
disqusShortname = "hpstrhugo"
relativeurls = true
@@ -12,7 +12,7 @@ relativeurls = true
subtitle = "An elegant, responsive theme for Hugo"
[params.author]
name = "Hugo"
- avatar = "avatar.jpg"
+ avatar = "/images/avatar.jpg"
bio = "A static site generator written in Go"
github = "spf13/hugo"
[params.image]
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index 0dbcd93..3c310d3 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -12,18 +12,7 @@
<div class="header-title">
<div class="header-title-wrap">
<h1><a href="/" title="Go to the homepage">{{ .Site.Title }}</a></h1>
- <h2>{{ if .IsHome }}
- {{ .Site.Params.subtitle }}
- {{ else if .IsNode }}
- {{ $pagename := (index .Site.Data.sections (lower .Title)) }}
- {{ if $pagename }}
- {{ index $pagename "title" }}
- {{ else }}
- {{ .Title }}
- {{ end }}
- {{ else if .IsPage }}
- {{ .Title }}
- {{ end }}</h2>
+ <h2>{{ .Title }}</h2>
</div><!-- /.header-title-wrap -->
</div><!-- /.header-title -->
</div><!-- /.entry-header -->