File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,7 @@ <h1>OpenSource</h1>
107
107
108
108
109
109
<!-- scripts concatenated and minified via ant build script-->
110
- < script defer src ="/public/js/plugins.js "> </ script >
111
- < script defer src ="/public/js/script.js "> </ script >
110
+ < script defer src ="/public/js/tags.js "> </ script >
112
111
<!-- end scripts-->
113
112
114
113
Original file line number Diff line number Diff line change
1
+ $ ( function ( ) {
2
+ if ( $ ( '#tag-list' ) . length ) {
3
+ var hash = window . location . hash . substr ( 1 ) ;
4
+ if ( hash != '' ) {
5
+ $ ( '#tag-list > li[id!=' + hash + ']' ) . remove ( ) ;
6
+ $ ( window ) . scrollTop ( 0 ) ;
7
+ }
8
+ }
9
+ } ) ;
Original file line number Diff line number Diff line change 3
3
title: Pull Request
4
4
---
5
5
< h1 > Liste des tags</ h1 >
6
- < ul >
6
+ < ul id =" tag-list " >
7
7
{% for tag in site.tags %}
8
8
< li id ="{{ tag[0] }} "> {{ tag[0] }}:
9
9
< ul >
You can’t perform that action at this time.
0 commit comments