Display page title if available

This commit is contained in:
dzello 2018-04-26 16:34:29 -07:00
parent 10fcf53bcf
commit 5f724be7bd

View file

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ .Site.Title }}</title> <title>{{ or .Page.Title .Site.Title }}</title>
<meta name="description" content="{{ .Site.Params.Description }}"> <meta name="description" content="{{ .Site.Params.Description }}">
<meta name="author" content="{{ .Site.Author.name }}"> <meta name="author" content="{{ .Site.Author.name }}">
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">