Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
ssdh233 committed Dec 6, 2021
1 parent 1807fa3 commit 6abef41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ timezone: Asia/Tokyo

title: 松松de小屋 # the main title

tagline: 这个人很懒,什么都没有留下 # it will display as the sub-title
tagline: 人生の99%はゲームで出来ている # it will display as the sub-title

description: >- # used by seo meta and the atom feed
A minimal, portfolio, sidebar,
Expand Down
3 changes: 2 additions & 1 deletion _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
<!-- the real tabs -->
{% for tab in site.tabs %}
{% if tab.sidebar != false %}
<li class="nav-item{% if tab.url == page.url %}{{ " active" }}{% endif %}">
{% assign page_url = page.url | replace: "_cn", "" %}
<li class="nav-item{% if tab.url == page_url %}{{ " active" }}{% endif %}">
<a href="{{ tab.url | relative_url }}" class="nav-link">
<i class="fa-fw {{ tab.icon }} ml-xl-3 mr-xl-3 unloaded"></i>
{% capture tab_name %}{{ tab.url | split: '/' }}{% endcapture %}
Expand Down
2 changes: 1 addition & 1 deletion assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
If the number of TAB files has changed, the following variable is required.
And it must be defined before `@import`.
*/
$tab-count: {{ site.tabs | size | plus: 1 }}; // plus 1 for home tab
$tab-count: {{ site.tabs | size | plus: 0 }}; // plus 1 for home tab, minus 1 for about_cn

@import "{{ site.theme }}";

Expand Down

0 comments on commit 6abef41

Please sign in to comment.