~kl/systemstack

3d17c8a291eeb92d49d9d26d9604f8db8664f137 — Kevin Lipe 2 months ago 74daf6c main
fix single page titles
2 files changed, 1 insertions(+), 6 deletions(-)

M layouts/_default/single.html
M layouts/partials/head.html
M layouts/_default/single.html => layouts/_default/single.html +0 -5
@@ 1,8 1,3 @@
{{ define "pagetitle" }}
<title>{{ .Title }} - {{ .Site.Title }}</title>
{{ end }}


{{ define "main" }}
<article class="c-article">
  <header class="c-article__header">

M layouts/partials/head.html => layouts/partials/head.html +1 -1
@@ 2,7 2,7 @@
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    {{ block "pagetitle" . }}<title>{{ .Site.Title }}</title>{{ end }}
    <title>{{if .Page.Title }}{{ .Page.Title }} - {{end}}{{ .Site.Title }}</title>
    <meta name="description" content="{{ .Site.Params.Description }}">
    {{ block "googlefonts" . }}<link href='https://fonts.googleapis.com/css?family=Roboto+Condensed|Source+Code+Pro|Shrikhand|Source+Serif+Pro:400,600,400italic,600italic' rel='stylesheet' type='text/css'>{{ end }}