From a445a65416dd1872a8cadf857d1a425ece950f30 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: Tue, 6 Sep 2016 10:58:23 +0200 Subject: [PATCH] vagrant test --- it4i_theme/drawer.html | 22 ---------------------- it4i_theme/header.html | 13 ++----------- 2 files changed, 2 insertions(+), 33 deletions(-) diff --git a/it4i_theme/drawer.html b/it4i_theme/drawer.html index e7338d88b..98223675a 100644 --- a/it4i_theme/drawer.html +++ b/it4i_theme/drawer.html @@ -38,28 +38,6 @@ {% include "nav.html" %} {% endfor %} </ul> - {% if config.extra.author %} - <hr> - <span class="section">The author</span> - <ul> - {% if config.extra.author.twitter %} - {% set author = config.extra.author.twitter %} - <li> - <a href="https://twitter.com/{{ author }}" target="_blank" title="@{{ author }} on Twitter"> - @{{ author }} on Twitter - </a> - </li> - {% endif %} - {% if config.extra.author.github %} - {% set author = config.extra.author.github %} - <li> - <a href="https://github.com/{{ author }}" target="_blank" title="@{{ author }} on GitHub"> - @{{ author }} on GitHub - </a> - </li> - {% endif %} - </ul> - {% endif %} </div> </div> </div> diff --git a/it4i_theme/header.html b/it4i_theme/header.html index f910b5b8d..7553710f9 100644 --- a/it4i_theme/header.html +++ b/it4i_theme/header.html @@ -22,18 +22,9 @@ {{ 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> + <a href="https://gitlab.it4i.cz/kru0052/docs.it4i" title="@{{ author }} on GitLab" 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> @@ -51,4 +42,4 @@ <button class="toggle-button icon icon-close" id="reset-search"></button> </div> </div> -</nav> \ No newline at end of file +</nav> -- GitLab