1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-24 13:10:18 +01:00

Use "|" for title separator instead of ndash

A survey of a handful of websites shows that this is a more common
separator of article and site title than the ndash.
This commit is contained in:
Alan Orth 2016-09-01 23:08:39 +03:00
parent 412cc18cf9
commit 9b9226ca99
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -1,4 +1,4 @@
{{ define "title" }}{{ .Title }} – {{ .Site.Title }}{{ end }}
{{ define "title" }}{{ .Title }} | {{ .Site.Title }}{{ end }}
{{ define "main" }}
<article class="blog-post">
<h2 class="blog-post-title"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h2>