~iperdomo/website

23197be4bdb34fca8eed452f9945ec3c7214a94d — Iván Perdomo 2 years ago 18b8c5e
Update layout, include page title in <title>
1 files changed, 6 insertions(+), 6 deletions(-)

M layouts/_default/baseof.html
M layouts/_default/baseof.html => layouts/_default/baseof.html +6 -6
@@ 1,14 1,14 @@
<!doctype html>
<html lang="{{ .Site.Language.Lang | default "en" }}">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>{{ .Title }}</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{{ if .IsHome }}{{ else }}{{ if .Title }}{{ .Title }} | {{ end }}{{ end }}{{ .Site.Title }}</title>
	{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
	{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
	<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
	<link rel="icon" href="/img/iperdomo.svg" type="image/svg+xml">
    <link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
    <link rel="icon" href="/img/iperdomo.svg" type="image/svg+xml">
	{{ if (or (eq .Page.Kind "section") (eq .Page.Kind "taxonomy")) }}
	{{ with .OutputFormats.Get "RSS" -}}
		{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}