Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-02-04 13:14:02 +0300
committerXhmikosR <xhmikosr@gmail.com>2021-08-23 10:35:47 +0300
commitf0dfcbc971f5002b13fced8ff6d860ca6ccd02ee (patch)
treeb711f11cacef732673a95eeee5637cd934ed17a7 /config.yml
parenta905d15290163e510027a8b8250f0e89d02dd6c6 (diff)
Use Hugo's internal templates for Twitter and OpenGraph
Diffstat (limited to 'config.yml')
-rw-r--r--config.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/config.yml b/config.yml
index 455b376a..55abbf59 100644
--- a/config.yml
+++ b/config.yml
@@ -85,7 +85,10 @@ params:
icons: "https://icons.getbootstrap.com/"
themes: "https://themes.getbootstrap.com/"
opencollective: "https://opencollective.com/bootstrap"
+ # This is currently used by Hugo's internal twitter_cards.html and opengraph.html templates;
+ # the first image in the following array is always used, unless specified in the front matter
+ images:
+ - "/assets/img/bootstrap-social.png"
social:
- twitter: getbootstrap
- image: /assets/img/bootstrap-social.png
+ twitter: "getbootstrap"