diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 2a947f0..835a587 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -26,3 +26,4 @@ - [Martin Kiesel](https://github.com/Kyslik) - [John Tobin](https://www.johntobin.ie/) - [Thomas Nys](https://thomasnys.com) +- [Artem Khvastunov](https://artspb.me) diff --git a/archetypes/posts.md b/archetypes/posts.md index a3ea93e..92f352a 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -2,6 +2,7 @@ draft = true date = {{ .Date }} title = "" +description = "" slug = "" tags = [] categories = [] diff --git a/exampleSite/content/posts/migrate-from-jekyll.md b/exampleSite/content/posts/migrate-from-jekyll.md index 80086e7..8e23c0f 100644 --- a/exampleSite/content/posts/migrate-from-jekyll.md +++ b/exampleSite/content/posts/migrate-from-jekyll.md @@ -1,6 +1,7 @@ +++ date = "2014-03-10" title = "Migrate to Hugo from Jekyll" +description = "The post explains how to migrate from from Jekyll to Hugo." +++ Table of Contents diff --git a/exampleSite/content/posts/theme-demo.md b/exampleSite/content/posts/theme-demo.md index 39c8c69..7ccec9d 100644 --- a/exampleSite/content/posts/theme-demo.md +++ b/exampleSite/content/posts/theme-demo.md @@ -1,6 +1,8 @@ +++ date = "2017-01-08" title = "Theme Demo" +description = "The post demonstrates features of the coder theme." +images = ["/images/N90.jpg"] math = "true" +++ diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 40c8778..7a59a32 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -9,6 +9,8 @@ {{ with .Site.Params.description }}{{ end }} {{ with .Site.Params.keywords }}{{ end }} + {{ template "_internal/twitter_cards.html" . }} + {{ block "title" . }}{{ .Site.Title }}{{ end }}