From 70b3f7ecdf87bd3925335a775cce99589b99e8cd Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Mon, 13 Sep 2021 08:48:57 -0500 Subject: [PATCH] SEO Fixes --- 404.html | 24 ++++++++++++++++++++++++ Gemfile | 1 + Gemfile.lock | 3 +++ _config.yml | 7 ++++--- _includes/head.html | 6 +++--- 5 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 404.html diff --git a/404.html b/404.html new file mode 100644 index 00000000..e5cc7b25 --- /dev/null +++ b/404.html @@ -0,0 +1,24 @@ +--- +layout: default +--- + +
+
+

404

+

We couldn't find that :(

+

Maybe you were looking for one of these pages?

+ +
+
+

If you believe you reached this page in error, please contact us!

+
+
diff --git a/Gemfile b/Gemfile index 44885381..73c34c22 100644 --- a/Gemfile +++ b/Gemfile @@ -5,6 +5,7 @@ gem "jekyll", "~> 4.2" group :jekyll_plugins do gem "jekyll-feed", "~> 0.6" gem "jekyll-brotli", "~> 2.3" + gem "jekyll-sitemap", "~> 1.4" end # Jekyll 3.9.0 now requires this explicitly installed, apparently diff --git a/Gemfile.lock b/Gemfile.lock index 1c04f588..ac5d9158 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -37,6 +37,8 @@ GEM jekyll (>= 3.7, < 5.0) jekyll-sass-converter (2.1.0) sassc (> 2.0.1, < 3.0) + jekyll-sitemap (1.4.0) + jekyll (>= 3.7, < 5.0) jekyll-watch (2.2.1) listen (~> 3.0) kramdown (2.3.1) @@ -71,6 +73,7 @@ DEPENDENCIES jekyll (~> 4.2) jekyll-brotli (~> 2.3) jekyll-feed (~> 0.6) + jekyll-sitemap (~> 1.4) kramdown-parser-gfm (~> 1.1) tzinfo-data webrick (~> 1.7) diff --git a/_config.yml b/_config.yml index 88f47c84..92ea08d1 100644 --- a/_config.yml +++ b/_config.yml @@ -1,13 +1,13 @@ title: Privacy Guides email: jonah@privacyguides.org description: >- # this means to ignore newlines until "baseurl:" - Write an awesome description for your new site here. You can edit this - line in _config.yml. It will appear in your document head meta (for - Google search results) and in your feed.xml site description. + Massive organizations are monitoring your online activities. + Privacy Guides is your central privacy and security resource to protect yourself online. baseurl: "" # the subpath of your site, e.g. /blog url: "https://www.privacyguides.org" # the base hostname & protocol for your site, e.g. http://example.com sass: sass_dir: _sass +permalink: pretty excerpt_separator: collections_dir: collections collections: @@ -33,4 +33,5 @@ kramdown: plugins: - jekyll-feed - jekyll-brotli + - jekyll-sitemap exclude: [privacytools.io/] diff --git a/_includes/head.html b/_includes/head.html index 203c6dd8..becfc161 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -5,7 +5,7 @@ - + {% if page.title %} @@ -16,7 +16,7 @@ {% endif %} - + @@ -36,5 +36,5 @@ - +