From 2ba54aa7e146a3244b5c6138fb9361d78219527b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= <lukas.krupcik@vsb.cz> Date: Mon, 19 Dec 2016 12:45:49 +0100 Subject: [PATCH] change --- it4i_theme/header.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/it4i_theme/header.html b/it4i_theme/header.html index bcd288ceb..0cafb4242 100644 --- a/it4i_theme/header.html +++ b/it4i_theme/header.html @@ -22,6 +22,18 @@ {{ page_title | default(site_name, true) }} </div> </div> + {% if config.extra.get("author", {}).twitter %} + {% set author = config.extra.author.twitter %} + <div class="button button-twitter" role="button" aria-label="Twitter"> + <a href="https://twitter.com/{{ author }}" title="@{{ author }} on Twitter" target="_blank" class="toggle-button icon icon-twitter"></a> + </div> + {% endif %} + {% if config.extra.get("author", {}).github %} + {% set author = config.extra.author.github %} + <div class="button button-github" role="button" aria-label="GitHub"> + <a href="https://github.com/{{ author }}" title="@{{ author }} on GitHub" target="_blank" class="toggle-button icon icon-github"></a> + </div> + {% endif %} <div class="button button-search" role="button" aria-label="Search"> <label class="toggle-button icon icon-search" title="Search" for="toggle-search"></label> </div> -- GitLab