mirror of https://github.com/lxndrblz/anatole.git

Harsh Shandilya
16.17.2020 6815ba799bf6d6344311b1ecf5f3c3d6b1583729
partials/head: don't add pipe without a title

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
1 files modified
2 ■■■ changed files
layouts/partials/head.html 2 ●●● patch | view | raw | blame | history
layouts/partials/head.html
@@ -1,5 +1,5 @@
<head>
    <title> {{.Site.Params.author}} | {{.Title}} </title>
    <title> {{.Site.Params.author}}{{ with .Title }} | {{ . }}{{ end }} </title>
    <meta charset="utf-8">
    {{- hugo.Generator -}}
    <meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">