From 5c01c13ba27f7e86eae4f32ea359a7367e6a91e8 Mon Sep 17 00:00:00 2001 From: Gina Trapani Date: Tue, 4 Feb 2025 22:26:54 -0500 Subject: [PATCH] feat: navbar --- _includes/header_fullscreen.html | 41 ++++++++++++++++++++++++++++++- _layouts/life-in-weeks.html | 18 +++++++++----- _sass/main.scss | 42 +++++++++++++++++++++++++++++--- index.markdown | 4 +-- 4 files changed, 93 insertions(+), 12 deletions(-) diff --git a/_includes/header_fullscreen.html b/_includes/header_fullscreen.html index ef2cf1c..4a8f173 100644 --- a/_includes/header_fullscreen.html +++ b/_includes/header_fullscreen.html @@ -1 +1,40 @@ -

{{ page.title }}

+
+

{{ page.title }}

+ +
diff --git a/_layouts/life-in-weeks.html b/_layouts/life-in-weeks.html index 0835337..bc7320d 100644 --- a/_layouts/life-in-weeks.html +++ b/_layouts/life-in-weeks.html @@ -15,9 +15,9 @@ {% assign year_border_class = "border-secondary" %}
-
+ {% include header_fullscreen.html %} +
- {% include header_fullscreen.html %} {{content}}
@@ -32,18 +32,21 @@ {% endfor %} {% assign events_in_row = 0 %} {% assign empty_weeks_in_row = 0 %} -
-
+
+
{% for year in (start_year..end_year) %} {% capture this_year = year %}{{ year }}-{{ start_month }}-{{ start_day }}{% endcapture %} {% capture next_year = year %}{{ year | plus: 1 }}-{{ start_month }}-{{ start_day }}{% endcapture %} {% assign age = year | minus: start_year %} {% unless age == 0 %} + {% if age | modulo: 10 == 0 %} + + {% endif %} {% assign events_in_row = events_in_row | plus: 1 %} @@ -128,7 +131,6 @@ {% endfor %}
-
How you regard your past influences how your future unfolds. You did what you needed to do at the time with what you had to work with. Thank goodness! Now you wake up knowing more. – Danielle LaPorte