Permalink
Browse files

Meta description

  • Loading branch information...
trys committed Sep 23, 2018
1 parent 8619980 commit abaa30f2bb313f3edac924002234a5c75bc7839c
Showing with 2 additions and 1 deletion.
  1. +2 −1 site/layouts/_default/baseof.html
@@ -7,7 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>{{ .Title }} | {{ .Site.Title }}</title>
{{ if (.IsPage) and eq .Section "blog" }}<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Title }}{{ end }} | Trys Mudford | Frontend developer" />{{ end }}
{{ if (.IsPage) and eq .Section "blog" }}<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Title }}{{ end }} | Trys Mudford | Frontend developer" />{{ else }}<meta name="description" content="My core skills are in semantic HTML &amp; CSS, progressively enhanced JS, PWA’s, web performance, Vue.js &amp; Nuxt, static site
generation and generally putting the user first." />{{ end }}
<meta property="og:url" content="{{ getenv "URL" }}{{ .URL }}" />
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ .Title }} | {{ .Site.Title }}" />

0 comments on commit abaa30f

Please sign in to comment.