diff options
author | Khalid Eldehairy <kdehairy@gmail.com> | 2016-01-30 22:03:22 +0300 |
---|---|---|
committer | Khalid Eldehairy <kdehairy@gmail.com> | 2016-01-30 22:03:22 +0300 |
commit | 9285e3768d7dee378868a81133c88e456d300dec (patch) | |
tree | 8b9451d17ed10ed44119f584374c23f302f6a272 /layouts | |
parent | 4fcff6dbcc8550b134653bb1e74585fd4d550d9a (diff) |
Corrects site-title to be always site title
before: site-title is set to the page/post title.
after: it is always set to the site title.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e2748db..4f611fb 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -5,7 +5,7 @@ <div class="container"> <div class="site-title-wrapper"> <h1 class="site-title"> - <a title="{{ .Title }}" href="{{ .Site.BaseURL }}">{{ .Title }}</a> + <a title="{{ .Site.Title }}" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> </h1> <a class="button-square button-jump-top js-jump-top" href="#"> <i class="fa fa-angle-up"></i> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2deb70c..dcb7b61 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -29,7 +29,7 @@ </a> {{ else }} <h1 class="site-title"> - <a title="{{ .Title }}" href="{{ .Site.BaseURL }}">{{ .Title }}</a> + <a title="{{ .Site.Title }}" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> </h1> {{ end }} <a class="button-square" href="{{ .Site.BaseURL }}index.xml"><i class="fa fa-rss"></i></a> @@ -66,4 +66,4 @@ </div> </header> - <div id="container">
\ No newline at end of file + <div id="container"> |