diff --git a/it4i_theme/drawer.html b/it4i_theme/drawer.html index e7338d88be2b849a31490cb3914672a5cfa71664..98223675a96206474bb6870e904bbfc6626df67b 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 f910b5b8d1bc937098b0201a91385178d60d793e..7553710f91c1ac3762bb619d89504e42f65df655 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>