From 5f815b73d295c542a7307e8c58882afce6c2d570 Mon Sep 17 00:00:00 2001 From: Ben Ramey Date: Sun, 18 Feb 2024 20:53:38 -0600 Subject: [PATCH] Fix some layout things --- src/Themes/BenRameyTheme/Views/Layout.liquid | 6 ++-- src/Themes/OapTheme/Views/Layout.liquid | 33 ++++--------------- .../OapTheme/Views/Shared/NotFound.cshtml | 4 --- .../OapTheme/Views/Shared/NotFound.liquid | 10 ++++++ 4 files changed, 19 insertions(+), 34 deletions(-) delete mode 100644 src/Themes/OapTheme/Views/Shared/NotFound.cshtml create mode 100644 src/Themes/OapTheme/Views/Shared/NotFound.liquid diff --git a/src/Themes/BenRameyTheme/Views/Layout.liquid b/src/Themes/BenRameyTheme/Views/Layout.liquid index 8c306e2..e66c885 100644 --- a/src/Themes/BenRameyTheme/Views/Layout.liquid +++ b/src/Themes/BenRameyTheme/Views/Layout.liquid @@ -34,7 +34,8 @@ - {% shape "menu", alias: "alias:main", cache_id: "main-menu", cache_fixed_duration: "00:05:00", cache_tag: "alias:main" %} + {% shape "menu", alias: "alias:main", cache_id: "main-menu", cache_fixed_duration: "00:05:00", cache_tag: "alias:main" + %}
@@ -56,6 +57,5 @@ {% resources type: "FootScript" %} - - + \ No newline at end of file diff --git a/src/Themes/OapTheme/Views/Layout.liquid b/src/Themes/OapTheme/Views/Layout.liquid index 1f72a86..f48ba89 100644 --- a/src/Themes/OapTheme/Views/Layout.liquid +++ b/src/Themes/OapTheme/Views/Layout.liquid @@ -14,6 +14,7 @@ {% style name: "oaptheme-styles" %} {% resources type: "HeadLink" %} + + {% resources type: "Stylesheet" %} {% resources type: "HeadScript" %}
-
-
- - Gravatar - {{ Site.SiteName }} - -
- {{ Site.Tagline }} -
-
-
+ here is the header
@@ -70,23 +61,11 @@
{% assign year = "now" | date: "%Y" %} - © - Overseas Auto Protection - All rights reserved. -
- -
-
-
- - © - {% assign year = "now" | date: "%Y" %} - - All rights reserved. - -
+ © - Overseas Auto Protection - All rights + reserved.
{% resources type: "FootScript" %} - - + \ No newline at end of file diff --git a/src/Themes/OapTheme/Views/Shared/NotFound.cshtml b/src/Themes/OapTheme/Views/Shared/NotFound.cshtml deleted file mode 100644 index 2e38abe..0000000 --- a/src/Themes/OapTheme/Views/Shared/NotFound.cshtml +++ /dev/null @@ -1,4 +0,0 @@ -

Page Not Found

-

- Page not found, sorry. -

diff --git a/src/Themes/OapTheme/Views/Shared/NotFound.liquid b/src/Themes/OapTheme/Views/Shared/NotFound.liquid new file mode 100644 index 0000000..eff68bf --- /dev/null +++ b/src/Themes/OapTheme/Views/Shared/NotFound.liquid @@ -0,0 +1,10 @@ +
+

404 : Page not found

+

+ Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. +

+

+ Head back home + to try finding it again. +

+
\ No newline at end of file