Commit f951075 1 parent a67838e commit f951075 Copy full SHA for f951075
File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ index_with_subtitle: false
45
45
# When running the site in a subdirectory (e.g. domain.tld/blog), remove the leading slash (/archives -> archives)
46
46
menu :
47
47
home : /
48
- # categories: /categories
49
- # about: /about
50
- archives : /archives
51
- tags : /tags
48
+ # categories: /categories/
49
+ # about: /about/
50
+ archives : /archives/
51
+ tags : /tags/
52
52
# sitemap: /sitemap.xml
53
53
# commonweal: /404.html
54
54
173
173
174
174
# If true, all words will placed on next lines if header width longer then sidebar width.
175
175
wrap : false
176
-
176
+
177
177
178
178
# Creative Commons 4.0 International License.
179
179
# http://creativecommons.org/
@@ -405,11 +405,11 @@ vkontakte_api:
405
405
406
406
# Star rating support to each article.
407
407
# To get your ID visit https://widgetpack.com
408
- rating :
408
+ rating :
409
409
enable : false
410
410
id : # <app_id>
411
411
color : fc6423
412
-
412
+
413
413
414
414
# Show number of visitors to each article.
415
415
# You can visit https://leancloud.cn get AppID and AppKey.
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ NexT.utils = NexT.$u = {
165
165
addActiveClassToMenuItem : function ( ) {
166
166
var path = window . location . pathname ;
167
167
path = path === '/' ? path : path . substring ( 0 , path . length - 1 ) ;
168
- $ ( '.menu-item a[href="' + path + '"]' ) . parent ( ) . addClass ( 'menu-item-active' ) ;
168
+ $ ( '.menu-item a[href^ ="' + path + '"]:first ' ) . parent ( ) . addClass ( 'menu-item-active' ) ;
169
169
} ,
170
170
171
171
hasMobileUA : function ( ) {
You can’t perform that action at this time.
0 commit comments