Browse Source

Change generation of title in head

master
digitalcraftsman 9 years ago
parent
commit
b74962f2e4
  1. 2
      layouts/partials/head.html

2
layouts/partials/head.html

@ -7,7 +7,7 @@
<meta name="author" content="{{ with .Site.Params.name }}{{ . }}{{ end }}"> <meta name="author" content="{{ with .Site.Params.name }}{{ . }}{{ end }}">
<meta name="description" content="{{ with .Site.Params.description }}{{ . }}{{ end }}"> <meta name="description" content="{{ with .Site.Params.description }}{{ . }}{{ end }}">
{{ .Hugo.Generator }} {{ .Hugo.Generator }}
<title>{{ with .Site.Params.name }}{{ . }} - {{ end }}{{ .Site.Title }}</title>
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
<link rel="shortcut icon" href="{{ .Site.BaseURL }}images/favicon.ico"> <link rel="shortcut icon" href="{{ .Site.BaseURL }}images/favicon.ico">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css"> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/highlight.css"> <link rel="stylesheet" href="{{ .Site.BaseURL }}css/highlight.css">

Loading…
Cancel
Save