Update meta description logic for single page
This commit is contained in:
parent
f4cd8429fe
commit
6d0fec16e3
5 changed files with 10 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
{{ define "header" }}
|
||||
<meta name="description" content="{{.Description}}" />
|
||||
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Title }}{{ end }}" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/atom-one-dark.min.css"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue