1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-07-01 17:22:39 +00:00

Update mkdocs-material-insiders (#2449)

This commit is contained in:
2024-03-28 15:09:58 -05:00
parent c5bdbbcdcb
commit 525a2c1137
25 changed files with 142 additions and 137 deletions

View File

@ -0,0 +1 @@
../../../../theme/assets/brand/fonts

View File

@ -23,7 +23,7 @@ definitions:
- &page_title_with_site_name >-
{{ page.meta.get("title", page.title) }}
- &page_description >-
{{ config.extra.homepage_description or "A socially motivated website which provides information about protecting your online data privacy and security." }}
@ -83,7 +83,7 @@ layers:
font:
family: *title_font_family
style: Bold
# Page description
- size: { width: 864, height: 192 }
offset: { x: 64, y: 320 }

View File

@ -56,7 +56,7 @@ definitions:
- &logo >-
{%- if page.meta.cover -%}
theme/assets/brand/SVG/Logo/privacy-guides-logo-notext.svg
theme/assets/brand/logos/svg/logo/privacy-guides-logo-notext.svg
{%- elif config.theme.logo -%}
{{ config.docs_dir }}/{{ config.theme.logo }}
{%- endif -%}

View File

@ -4,7 +4,7 @@ definitions:
{%- if page.meta.cover -%}
theme/assets/img/cover/{{ page.meta.cover }}
{%- else -%}
{{ layout.background_image or "theme/assets/brand/PNG/Banner/cover-progress-notext-blur.png" }}
{{ layout.background_image or "theme/assets/brand/images/png/cover-progress-notext-blur.png" }}
{%- endif -%}
- &background_color >-
@ -51,7 +51,7 @@ definitions:
{{ page.meta.icon or "" }}
- &logo >-
theme/assets/brand/SVG/Logo/privacy-guides-logo-notext.svg
theme/assets/brand/logos/svg/logo/privacy-guides-logo-notext.svg
# Meta tags
tags:

View File

@ -77,8 +77,8 @@ repo_name: ""
theme:
name: material
custom_dir: ../theme
logo: ../../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg
favicon: assets/brand/png/favicon/favicon-32x32.png
logo: ../../theme/assets/brand/logos/svg/logo/privacy-guides-logo-notext-colorbg.svg
favicon: assets/brand/logos/png/favicon-32x32.png
icon:
repo: simple/github
features:
@ -156,8 +156,8 @@ markdown_extensions:
meta: {}
abbr: {}
pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
tables: {}
footnotes: {}
toc:

View File

@ -43,7 +43,7 @@ extra:
theme:
language: en
# this logo needs to be set separately because the relative path is different
logo: ../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg
logo: ../theme/assets/brand/logos/svg/logo/privacy-guides-logo-notext-colorbg.svg
font:
text: Public Sans
code: DM Mono
@ -82,7 +82,7 @@ plugins:
markdown_extensions:
pymdownx.snippets:
auto_append:
auto_append:
- includes/abbreviations.en.txt
nav:

View File

@ -40,7 +40,7 @@ extra:
theme:
language: en
# ENGLISH ONLY: this logo needs to be set separately because the relative path is different
logo: ../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg
logo: ../theme/assets/brand/logos/svg/logo/privacy-guides-logo-notext-colorbg.svg
font:
text: Public Sans
code: DM Mono
@ -66,7 +66,7 @@ theme:
markdown_extensions:
pymdownx.snippets:
auto_append:
auto_append:
- includes/abbreviations.en.txt
nav: