Skip to content

Commit

Permalink
offline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaharagon committed Apr 4, 2024
1 parent c08355b commit 7307c2d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions config/mkdocs-offline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,36 @@ INHERIT: mkdocs-common.yml

# Disable any GitHub integrations
repo_url: ""
edit_uri_template: ""

extra:
# Disable language switcher
alternate: false
offline: true
privacy_guides:
homepage:
hero:
buttons:
- name:
!ENV [
HOMEPAGE_BUTTON_GET_STARTED_NAME,
"Start Your Privacy Journey",
]
title:
!ENV [
HOMEPAGE_BUTTON_GET_STARTED_TITLE,
"The first step of your privacy journey",
]
link: basics/why-privacy-matters.html
class: md-button md-button--primary
- name: !ENV [HOMEPAGE_BUTTON_TOOLS_NAME, "Recommended Tools"]
title:
!ENV [
HOMEPAGE_BUTTON_TOOLS_TITLE,
"Recommended privacy tools, services, and knowledge",
]
link: tools.html
class: md-button

theme:
# OFFLINE ONLY: this logo needs to be set separately because the relative path is different
Expand Down
2 changes: 1 addition & 1 deletion theme/assets/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

@font-face {
font-family: 'Bagnard';
src: url("/en/assets/brand/fonts/Bagnard/Bold.woff") format("woff");
src: url("../brand/fonts/Bagnard/Bold.woff") format("woff");
font-display: swap;
}

Expand Down

0 comments on commit 7307c2d

Please sign in to comment.