mirror of https://github.com/luizdepra/hugo-coder.git

Artem Khvastunov
07.26.2019 3d4335a7879180b12ea34dfc9fba0d76fd5700ae
refs
author Artem Khvastunov <art.spb@gmail.com>
Monday, January 7, 2019 16:26 +0100
committer Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
Monday, January 7, 2019 16:26 +0100
commit3d4335a7879180b12ea34dfc9fba0d76fd5700ae
tree fe28168eee47e1d3fb98f30c7f696014e89a0298 tree | zip | gz
parent 07687c49c08d4efafc2058cbe6cd3e6c8140ac87 view | diff
Add Twitter Cards to each page (#133)

* Add Twitter Cards to each page

Hugo has an internal template for [Twitter Cards](https://gohugo.io/templates/internal/#twitter-cards). It takes necessary information from either site's or post's config thus it makes sense to add it to each page.

* Add 'description' to posts archetype

This optional field is used by Twitter Cards.

* Add example usage of Twitter Cards

* Add artspb to contributors
5 files modified
7 ■■■■■ changed files
CONTRIBUTORS.md 1 ●●●● diff | view | raw | blame | history
archetypes/posts.md 1 ●●●● diff | view | raw | blame | history
exampleSite/content/posts/migrate-from-jekyll.md 1 ●●●● diff | view | raw | blame | history
exampleSite/content/posts/theme-demo.md 2 ●●●●● diff | view | raw | blame | history
layouts/_default/baseof.html 2 ●●●●● diff | view | raw | blame | history