Browse Source

Added custom page title

Signed-off-by: Blagovest Petrov <blagovest@petrovs.info>
pull/1/head
Blagovest Petrov 4 years ago
parent
commit
bc3a46d3a4
  1. 4
      layouts/partials/head.html

4
layouts/partials/head.html

@ -1,5 +1,5 @@
<head> <head>
<title>{{ .Site.Title }}</title> <title>{{ .Title | default .Site.Title }}</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"> <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding"> <meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -8,6 +8,8 @@
<link rel="icon" href="{{ .Site.BaseURL }}/favicon.ico"> <link rel="icon" href="{{ .Site.BaseURL }}/favicon.ico">
<link rel="canonical" href="{{ .Site.BaseURL }}"> <link rel="canonical" href="{{ .Site.BaseURL }}">
<link rel="alternate" type="application/atom+xml" title="Atom 2.0" href="https://petrovs.info/index.xml"> <link rel="alternate" type="application/atom+xml" title="Atom 2.0" href="https://petrovs.info/index.xml">
<meta name="description" content="{{ .Site.Params.Description }}">
{{/* Don't ask why it's like this. This original theme is a mess... */}} {{/* Don't ask why it's like this. This original theme is a mess... */}}
<!-- <noscript><style>body { visibility: visible }</style></noscript> --> <!-- <noscript><style>body { visibility: visible }</style></noscript> -->
</head> </head>

Loading…
Cancel
Save