From f2f4f16d2eec99bd79a782c82a08b261e2d775a4 Mon Sep 17 00:00:00 2001 From: Simone Bortolin Date: Mon, 19 Dec 2022 23:02:01 +0100 Subject: fix header button --- _config.yml | 18 ++++++++++++++---- _layouts/default.html | 29 +++++++++++------------------ 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/_config.yml b/_config.yml index 0a32da6..b92e11d 100644 --- a/_config.yml +++ b/_config.yml @@ -37,10 +37,20 @@ url: "https://hack-gpon.github.io/" nav_sort: case_sensitive aux_links: - "Hack GPON on GitHub": - - "//github.com/hack-gpon/hack-gpon.github.io" - "Hack GPON on Telegram": - - "//t.me/HackGPON" + - "Github": + color: 'blue' + logo: 'https://cdn-icons-png.flaticon.com/512/1051/1051377.png' + link: '//github.com/hack-gpon/hack-gpon.github.io' + - "Telegram": + color: 'blue' + logo: 'https://iconape.com/wp-content/png_logo_vector/telegram-new-2019-black-x-logo.png' + link: '//t.me/HackGPON' + +#aux_links: +# "Hack GPON on GitHub": +# - "//github.com/hack-gpon/hack-gpon.github.io" +# "Hack GPON on Telegram": +# - "//t.me/HackGPON" back_to_top: true back_to_top_text: "Back to top" diff --git a/_layouts/default.html b/_layouts/default.html index cd4cfbb..718ea9e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -85,24 +85,17 @@ layout: table_wrappers {% endif %} {% include header_custom.html %} - {% if site.aux_links %} - - {% endif %} @@ -278,4 +271,4 @@ layout: table_wrappers {% if site.mermaid_enabled != false %} {%- include mermaid_init.html -%} {% endif %} - \ No newline at end of file + -- cgit v1.2.3