commit ea256889a72c068bf7b60de7cc22cd0b08691971 parent af19b18a9fba7cd366eba0921ec1a7fe942733e8 Author: Andreas Gruhler <andreas.gruhler@adfinis.com> Date: Thu, 20 Apr 2023 22:27:45 +0200 feat: add octicons and nav Diffstat:
M | Gemfile | | | 1 | + |
M | _config.yml | | | 1 | + |
M | _includes/nav.html | | | 5 | +++-- |
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Gemfile b/Gemfile @@ -4,6 +4,7 @@ group :jekyll_plugins do gem "jekyll-sitemap" gem "bourbon" gem "jekyll-paginate" + gem "jekyll-octicons" end gem 'html-proofer' gem 'tzinfo' diff --git a/_config.yml b/_config.yml @@ -34,6 +34,7 @@ plugins: - jekyll-sitemap - bourbon - jekyll-paginate + - jekyll-octicons # navbar pages navbar: diff --git a/_includes/nav.html b/_includes/nav.html @@ -3,8 +3,9 @@ <div class="container"> <h1 class="logo"><a href="{{ '/' | prepend: site.baseurl | prepend: site.url }}">{{ site.title_left }}<span>{{ site.title_right }}</span></a></h1> <ul class="navbar"> - <li><a href="{{ '/about' | prepend: site.baseurl | prepend: site.url }}">About me</a></li> - <li><a href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" target="_blank">RSS</a></li> + <li><a href="https://code.in0rdr.ch/myheats">{% octicon repo %}<span> src</span></a></li> + <li><a href="https://web.libera.chat/gamja/#myheats">{% octicon comment-discussion %}<span> irc</span></a></li> + <li><a href="https://cv.in0rdr.ch">{% octicon person %}<span> about</span></a></li> </ul> </div> </nav>