Skip to content

Commit

Permalink
Merge pull request #29 from ahanel13/enhancement/sidebar-tweaks
Browse files Browse the repository at this point in the history
Enhancement/sidebar tweaks
  • Loading branch information
ahanel13 authored Dec 23, 2024
2 parents 13a9dde + b54a6d9 commit b5b7bb3
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ gem "html-proofer", "~> 5.0", group: :test

group :jekyll_plugins do
gem "jekyll-last-modified-at"
gem 'jekyll-feed', '~> 0.17'
end

platforms :mingw, :x64_mingw, :mswin, :jruby do
Expand All @@ -19,4 +20,4 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

gem "csv"
gem "base64"
gem 'jekyll-feed', '~> 0.17'

4 changes: 2 additions & 2 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<li class="nav-item{% if page.layout == 'home' %}{{ " active" }}{% endif %}">
<a href="{{ '/' | relative_url }}" class="nav-link">
<i class="fa-fw fas fa-home"></i>
<span>{{ site.data.locales[include.lang].tabs.home | upcase }}</span>
<span>{{ site.data.locales[include.lang].tabs.home | downcase }}</span>
</a>
</li>
<!-- the real tabs -->
Expand All @@ -32,7 +32,7 @@
<i class="fa-fw {{ tab.icon }}"></i>
{% capture tab_name %}{{ tab.url | split: '/' }}{% endcapture %}

<span>{{ site.data.locales[include.lang].tabs.[tab_name] | default: tab.title | upcase }}</span>
<span>{{ site.data.locales[include.lang].tabs.[tab_name] | default: tab.title | downcase }}</span>
</a>
</li>
<!-- .nav-item -->
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion _tabs/about.md → _tabs/whoami.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# the default layout is 'page'
icon: fas fa-address-card
order: 4
media_subpath: /assets/img/about/
media_subpath: /assets/img/whoami/
---

<div style="display: flex; justify-content: space-between;">
Expand Down
File renamed without changes
File renamed without changes

0 comments on commit b5b7bb3

Please sign in to comment.