From b400ab24ceb4dce625ae74bd5835e284a8b6edf4 Mon Sep 17 00:00:00 2001 From: Luna Date: Wed, 23 Mar 2022 23:40:58 -0400 Subject: [PATCH 1/2] Attempt Fix for #121 Deploy Preview urls point to commonwl.org --- content/404.html | 2 +- content/_includes/custom-head.html | 16 ++++++++-------- content/_includes/footer-scripts.html | 8 ++++---- content/_includes/footer.html | 2 +- content/_includes/head.html | 6 +++--- content/_includes/header.html | 2 +- content/_includes/home/mini-gallery.html | 6 +++--- content/_includes/home/video-player.html | 24 ++++++++++++------------ content/_includes/top_nav.html | 10 +++++----- content/_includes/twitter_feed.html | 2 +- content/_includes/user-gallery.html | 2 +- 11 files changed, 40 insertions(+), 40 deletions(-) diff --git a/content/404.html b/content/404.html index 67eca7e7..b817f77f 100644 --- a/content/404.html +++ b/content/404.html @@ -31,5 +31,5 @@

404

Page not found :(

-

The requested page could not be found. Please visit our homepage instead.

+

The requested page could not be found. Please visit our homepage instead.

diff --git a/content/_includes/custom-head.html b/content/_includes/custom-head.html index fee376d9..7e4996b3 100644 --- a/content/_includes/custom-head.html +++ b/content/_includes/custom-head.html @@ -1,11 +1,11 @@ - - - - - - + + + + + + - + - + diff --git a/content/_includes/footer-scripts.html b/content/_includes/footer-scripts.html index ecde99aa..c8d85cbf 100644 --- a/content/_includes/footer-scripts.html +++ b/content/_includes/footer-scripts.html @@ -1,7 +1,7 @@ - - - - + + + + {% if jekyll.environment == "staging" %} {% include hypothesis.html %} diff --git a/content/_includes/footer.html b/content/_includes/footer.html index 0c69f575..fff09449 100644 --- a/content/_includes/footer.html +++ b/content/_includes/footer.html @@ -2,7 +2,7 @@
diff --git a/content/_includes/head.html b/content/_includes/head.html index 7e264eaa..3309d82a 100644 --- a/content/_includes/head.html +++ b/content/_includes/head.html @@ -5,11 +5,11 @@ - + {%- seo -%} - + {%- if page.url contains "gallery" -%} @@ -19,7 +19,7 @@ - + {%- if (site.url contains 'commonwl.org' and site.google_analytics -%} {%- include google-analytics.html -%} diff --git a/content/_includes/header.html b/content/_includes/header.html index d1b50d12..14ce76a4 100644 --- a/content/_includes/header.html +++ b/content/_includes/header.html @@ -2,7 +2,7 @@
diff --git a/content/_includes/home/mini-gallery.html b/content/_includes/home/mini-gallery.html index d87c95b0..ccd8c689 100644 --- a/content/_includes/home/mini-gallery.html +++ b/content/_includes/home/mini-gallery.html @@ -3,7 +3,7 @@ -