Make “–” in description optional.

This commit is contained in:
tastytea 2019-11-26 22:25:52 +01:00
parent fbae23fd21
commit bdbf3218b2
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<div class="header">
<a class="title" href="{{ .Site.Home.URL }}">{{ .Site.Title }}</a>
{{- with .Site.Params.subtitle }}
<span class="description"> {{ . }}</span>
<span class="description">{{ . }}</span>
{{- end }}
</div>
<div class="nav nav-top">

View File

@ -23,6 +23,11 @@ body>*
font-family: sans-serif;
}
.header .description::before
{
content: " ";
}
.header .description
{
font-size: 75%;