From 740dfec1e2c5550b93ed738c90b5c2722e3de8e9 Mon Sep 17 00:00:00 2001 From: b1ek Date: Thu, 26 Sep 2024 16:54:36 +1000 Subject: [PATCH] upd: contact alert --- content/_index.md | 2 ++ templates/index.html | 4 ++-- templates/shortcodes/alert.html | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 templates/shortcodes/alert.html diff --git a/content/_index.md b/content/_index.md index 6dbe54c..02b03c1 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,6 +2,8 @@ title = "Welcome" +++ +{{ alert(title = "Contacting me", body = "I am going to be completely offline until 28th september.
Do not expect me to reply before then

If it is work related or an emergency, write to email") }} + ## Welcome to my world! Hello there! My name is Alice and i am a fullstack web dev. I like to start a lot of side projects, but finish only a few of them. diff --git a/templates/index.html b/templates/index.html index 608bec4..92ec448 100644 --- a/templates/index.html +++ b/templates/index.html @@ -15,7 +15,7 @@ {% block root %} -
+ {% endblock root %} \ No newline at end of file diff --git a/templates/shortcodes/alert.html b/templates/shortcodes/alert.html new file mode 100644 index 0000000..b7702ab --- /dev/null +++ b/templates/shortcodes/alert.html @@ -0,0 +1,5 @@ +
+

{{ title | safe }}

+
+

{{ body | safe }}

+
\ No newline at end of file