added support for the meta description tag

This commit is contained in:
Ay0 2020-08-02 21:26:13 +01:00
parent 629c7196a3
commit f4cd8429fe
4 changed files with 13 additions and 5 deletions

View file

@ -75,6 +75,9 @@ enableEmoji: true
# Custom parameters
params:
# description
description: Theme for a personal portfolio with minimalist design and responsiveness
# copyright
copyright: © 2020 Copyright.

View file

@ -24,6 +24,9 @@ enableEmoji: true
# Custom parameters
params:
# description
description: this is an example site for the Toha theme
# copyright
copyright: © 2020 Copyright.

View file

@ -1,4 +1,5 @@
{{ define "header" }}
<meta name="description" content="{{.Description}}" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/atom-one-dark.min.css"

View file

@ -1,3 +1,4 @@
<meta name="description" content="{{.Site.Params.description}}" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />