File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22< html lang ="en ">
33 < head >
44 < meta charset ="UTF-8 " />
5+ < script >
6+ ( function ( ) {
7+ var p = new URLSearchParams ( window . location . search ) . get ( 'p' ) ;
8+ if ( p ) window . history . replaceState ( null , '' , decodeURIComponent ( p ) ) ;
9+ } ) ( ) ;
10+ </ script >
511 < link rel ="icon " type ="image/png " href ="/images/fav.png " />
612 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
713 < title > const correctness;</ title > </ head >
Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html >
3+ < head >
4+ < meta charset ="UTF-8 " />
5+ < script >
6+ // GitHub Pages SPA redirect: encode the path into the query string and
7+ // redirect to index.html, which will restore it via the script below.
8+ var l = window . location ;
9+ l . replace (
10+ l . protocol + '//' + l . hostname + ( l . port ? ':' + l . port : '' ) +
11+ l . pathname . split ( '/' ) . slice ( 0 , 1 ) . join ( '/' ) +
12+ '/?p=' + encodeURIComponent ( l . pathname + l . search ) +
13+ ( l . hash || '' )
14+ ) ;
15+ </ script >
16+ </ head >
17+ </ html >
You can’t perform that action at this time.
0 commit comments