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