File tree Expand file tree Collapse file tree 4 files changed +33
-0
lines changed Expand file tree Collapse file tree 4 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -39,3 +39,6 @@ markdown_extensions: [fenced_code]
3939
4040extra_css :
4141 - style.css
42+
43+ extra_javascript :
44+ - redirect.js
Original file line number Diff line number Diff line change 1+
2+ # Going to Github Issues...
3+
4+ Redirecting to Github Issues.
Original file line number Diff line number Diff line change 1+
2+ # Going to Github Issues...
3+
4+ Redirecting to Github Issues.
Original file line number Diff line number Diff line change 1+
2+ ( function ( ) {
3+ var path = window . location . pathname ;
4+
5+ const TARGETS = [ 'issue' , 'issues' ]
6+ for ( const target of TARGETS ) {
7+ if ( path == target ) {
8+ window . location . href = 'https://github.com/Breakthrough/PySceneDetect/issues/' ;
9+ }
10+ }
11+
12+ const PREFIXES = [ '/issue/' , '/issues/' ]
13+ for ( const prefix of PREFIXES ) {
14+ if ( path . startsWith ( prefix ) ) {
15+ var issueNumber = path . substring ( prefix . length ) ;
16+ if ( issueNumber ) {
17+ var newUrl = 'https://github.com/Breakthrough/PySceneDetect/issues/' + issueNumber ;
18+ window . location . href = newUrl ;
19+ }
20+ }
21+ }
22+ } ) ( ) ;
You can’t perform that action at this time.
0 commit comments