diff --git a/README.md b/README.md index 6e840e9..ed3e825 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,10 @@ copyright = "© 2015 Copyright Text" [params] description = "Your Site Description" # optional twitter = "Your Twitter Name" # optional + twitterSummary = true|false # optional + twitterTitle = "Title for twitter summary card" # optional + twitterDescription = "Desc for tiwtter summary card" # optional + twitterImage = "URL to image for twitter summary card" # option gitlab = "Your Gitlab Name" # optional github = "Your Github Name" # optional facebook = "Your facebook Name" # optional diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d66f868..a503d81 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,6 +3,13 @@
+ {{if .Site.Params.twitterSummary}} + + + + + + {{end}}