From 7307c2da6bdb83ac047fafe2e13f8e3cbf28a420 Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Thu, 4 Apr 2024 01:55:26 -0500 Subject: [PATCH] offline fix --- config/mkdocs-offline.yml | 25 +++++++++++++++++++++++++ theme/assets/stylesheets/extra.css | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/config/mkdocs-offline.yml b/config/mkdocs-offline.yml index e970090fcb..a03f625fc0 100644 --- a/config/mkdocs-offline.yml +++ b/config/mkdocs-offline.yml @@ -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 diff --git a/theme/assets/stylesheets/extra.css b/theme/assets/stylesheets/extra.css index c4c7e46390..3cf3f3126c 100644 --- a/theme/assets/stylesheets/extra.css +++ b/theme/assets/stylesheets/extra.css @@ -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; }