diff --git a/config.toml b/config.toml index 84d7c90..b51d035 100644 --- a/config.toml +++ b/config.toml @@ -32,6 +32,7 @@ juice_logo_path = "flat_blocks.svg" slogan = "Let's Build Something Together!" +email = "hello.vumwi@aleeas.com" # juice_extra_menu = [ # { title = "Github", link = "https://github.com/glennwso"} # ] diff --git a/content/contact.md b/content/contact.md index b680fb2..bb2b2cf 100644 --- a/content/contact.md +++ b/content/contact.md @@ -20,7 +20,7 @@ disable_toc = true

General Support

-

contact@example.com

+

{{ email() }}

diff --git a/templates/index.html b/templates/index.html index 4b0aaa8..0dc60a6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,6 +1,9 @@ {% extends "juice/templates/index.html" %} {% block head %} + + + @@ -161,6 +164,20 @@ GitHub + {% if lang =="sv"%} + + + + Kontakt + + {% else %} + + + + Contact + + {% endif %} + {% endblock footer %} \ No newline at end of file diff --git a/templates/shortcodes/email.html b/templates/shortcodes/email.html new file mode 100644 index 0000000..a322c8c --- /dev/null +++ b/templates/shortcodes/email.html @@ -0,0 +1 @@ +{{ config.extra.email }} \ No newline at end of file