1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-07-02 01:32:41 +00:00

Enable social card generation (#2068)

This commit is contained in:
2023-03-01 20:35:05 -06:00
parent d63dc04aff
commit 28c576110c
8 changed files with 80 additions and 64 deletions

View File

@ -36,11 +36,10 @@ repo_name: ""
theme:
name: material
custom_dir: ../theme
favicon: assets/img/brand/PNG/Favicon/favicon-32x32.png
favicon: assets/brand/png/favicon/favicon-32x32.png
icon:
logo: octicons/shield-lock-16
repo: simple/github
font: false
features:
- navigation.tracking
- navigation.tabs

View File

@ -33,6 +33,9 @@ extra:
theme:
language: en
font:
text: Public Sans
code: DM Mono
palette:
- media: "(prefers-color-scheme)"
scheme: default
@ -60,7 +63,8 @@ plugins:
fill: "#FFD06F"
text: "#2d2d2d"
cards_dir: assets/img/social
cards_font: 'Public Sans'
cards_font: Public Sans
cache_dir: .cache/plugin/social-en
nav:
- Home: 'index.md'

View File

@ -33,6 +33,9 @@ extra:
theme:
language: fr
font:
text: Public Sans
code: DM Mono
palette:
- media: "(prefers-color-scheme)"
scheme: default
@ -53,6 +56,16 @@ theme:
icon: material/brightness-5
name: "Basculer en mode sombre"
plugins:
social:
cards: !ENV [NETLIFY, false]
cards_color:
fill: "#FFD06F"
text: "#2d2d2d"
cards_dir: assets/img/social
cards_font: Public Sans
cache_dir: .cache/plugin/social-fr
nav:
- Accueil: 'index.md'
- Base de connaissances:

View File

@ -31,8 +31,15 @@ extra:
data: Needs Improvement
note: "תודה על המשוב שלך! Help us improve this page by opening a <a href='https://discuss.privacyguides.net/'>discussion on our forum</a>."
extra_css:
- assets/stylesheets/extra.css?v=3.2.0
- assets/stylesheets/lang-he.css?v=3.4.0
theme:
language: he
font:
text: Open Sans
code: Cousine
palette:
- media: "(prefers-color-scheme)"
scheme: default
@ -53,6 +60,16 @@ theme:
icon: material/brightness-5
name: "עבור למצב כהה"
plugins:
social:
cards: !ENV [NETLIFY, false]
cards_color:
fill: "#FFD06F"
text: "#2d2d2d"
cards_dir: assets/img/social
cards_font: Suez One
cache_dir: .cache/plugin/social-he
nav:
- "דף הבית": 'index.md'
- "ידע בסיסי":

View File

@ -53,6 +53,16 @@ theme:
icon: material/brightness-5
name: "Verander naar donker thema"
plugins:
social:
cards: !ENV [NETLIFY, false]
cards_color:
fill: "#FFD06F"
text: "#2d2d2d"
cards_dir: assets/img/social
cards_font: Public Sans
cache_dir: .cache/plugin/social-nl
nav:
- Home: 'index.md'
- Kennisbank: