1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-25 11:44:29 +01:00

Make site header text clickable (to home)

This is a pretty standard convention in blogs.
This commit is contained in:
Alan Orth 2016-09-14 12:24:38 +03:00
parent e48381d974
commit c94335a193
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,6 @@ $ npm run build
- add configurable license notice for footer
- add favicon
- add meta description / summary from front matter
- make site header clickable (to home)
## License
This repository contains the code of [Bootstrap](http://getbootstrap.com), which is licensed under the [MIT license](https://tldrlegal.com/license/mit-license).

View File

@ -35,7 +35,7 @@
<header class="blog-header">
<div class="container">
<h1 class="blog-title">{{ .Site.Title | safeHTML }}</h1>
<h1 class="blog-title"><a href="{{ .Site.BaseURL }}" rel="home">{{ .Site.Title | safeHTML }}</a></h1>
{{ if .Site.Params.description }}<p class="lead blog-description">{{ .Site.Params.description | markdownify }}</p>{{ end }}
</div>
</header>