From 4e2906082d2ad77d1ba47200d729e66af38aad5b Mon Sep 17 00:00:00 2001
From: Evan Pratten
Date: Tue, 14 Feb 2023 13:10:42 -0500
Subject: [PATCH] wip press kit
---
content/press.md | 5 +++++
sass/styles/components/footer.scss | 3 +++
templates/components/footer.html | 5 +++++
templates/shortcodes/years_since.html | 4 ++++
4 files changed, 17 insertions(+)
create mode 100644 content/press.md
create mode 100644 templates/shortcodes/years_since.html
diff --git a/content/press.md b/content/press.md
new file mode 100644
index 0000000..b1d0e4b
--- /dev/null
+++ b/content/press.md
@@ -0,0 +1,5 @@
+---
+title: Press Kit
+---
+
+> **Evan Pratten** is a Canadian Software Developer and Musician.
\ No newline at end of file
diff --git a/sass/styles/components/footer.scss b/sass/styles/components/footer.scss
index b7c9cea..a5ce5b6 100644
--- a/sass/styles/components/footer.scss
+++ b/sass/styles/components/footer.scss
@@ -1,3 +1,6 @@
.footer {
text-align: center;
+ p {
+ margin:0;
+ }
}
diff --git a/templates/components/footer.html b/templates/components/footer.html
index 53d573d..12c122d 100644
--- a/templates/components/footer.html
+++ b/templates/components/footer.html
@@ -10,4 +10,9 @@
Copyright © 2017 - {{ now() | date(format="%Y") }}
Evan Warren Pratten
+ {#
+ Press Kit
+ ·
+ Contact
+
#}
\ No newline at end of file
diff --git a/templates/shortcodes/years_since.html b/templates/shortcodes/years_since.html
new file mode 100644
index 0000000..70c6047
--- /dev/null
+++ b/templates/shortcodes/years_since.html
@@ -0,0 +1,4 @@
+{% set year_start = year | int %}
+{% set year_end = now() | date(format="%Y") | int %}
+
+{{ year_end - year_start }}
\ No newline at end of file