From aa0717634adda3a08e1b522700504cadf27623cf Mon Sep 17 00:00:00 2001 From: Lucas Amaro Date: Wed, 9 Mar 2022 09:37:49 -0300 Subject: [PATCH] Add a default open graph image to all posts and pages --- _config.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/_config.yml b/_config.yml index 8f5167d..ecb85d1 100644 --- a/_config.yml +++ b/_config.yml @@ -53,6 +53,7 @@ exclude: - "TODOs.md" - "README.md" +# ref: https://jekyllrb.com/docs/configuration/front-matter-defaults/ defaults: - scope: path: "assets/**/*.pdf" @@ -62,6 +63,22 @@ defaults: path: "assets/**/*.csv" values: sitemap: false + - scope: + path: "" + type: "pages" + values: + image: + path: "/assets/img/papicu-blue-square-512.png" + width: 512 + height: 512 + - scope: + path: "" + type: "posts" + values: + image: + path: "/assets/img/papicu-blue-square-512.png" + width: 512 + height: 512 jekyll-archives: enabled: