diff --git a/it4i_theme/header.html b/it4i_theme/header.html index bcd288ceb7d499262513c6fd21ea7e5aeac6e0d2..0cafb424268a456a9ba9b3e66c3238e761d4c465 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>