This commit is contained in:
parent
80c3cf9d8a
commit
c3d608f864
|
@ -1,7 +1,8 @@
|
||||||
const cururl = window.location.href;
|
let cururl = window.location.href;
|
||||||
if (cururl.indexOf('redir') >= 0) {
|
if (cururl.indexOf('redir') >= 0) {
|
||||||
let toccon = "<p>sensible-browser /blankx/{{<a href='../index.html'>index</a>,<a href='../contact.html'>contact</a>,<a href='../get-keys.html'>get-keys</a>,<a href='../template.html'>template</a>,<a href='../404.html'>404</a>,<a href='../403.html'>403</a>,<a href='../toc.html'>toc</a>}.html,redir/{<a href='../redir/blankx'>blankx</a>,<a href='../redir/dotfiles'>dotfiles</a>,<a href='../redir/gpgp'>gpgp</a>,<a href='../redir/controller'>controller</a>,<a href='../redir/command-runner'>command-runner</a>},<a href='../keybase.txt'>keybase.txt</a>}</p>";
|
let toccon = "<p>sensible-browser /blankx/{{<a href='../index.html'>index</a>,<a href='../contact.html'>contact</a>,<a href='../get-keys.html'>get-keys</a>,<a href='../template.html'>template</a>,<a href='../404.html'>404</a>,<a href='../403.html'>403</a>,<a href='../toc.html'>toc</a>}.html,redir/{<a href='../redir/blankx'>blankx</a>,<a href='../redir/dotfiles'>dotfiles</a>,<a href='../redir/gpgp'>gpgp</a>,<a href='../redir/controller'>controller</a>,<a href='../redir/command-runner'>command-runner</a>},<a href='../keybase.txt'>keybase.txt</a>}</p>";
|
||||||
|
document.getElementById("tocid").innerHTML = toccon;
|
||||||
} else {
|
} else {
|
||||||
let toccon = "<p>sensible-browser /blankx/{{<a href='index.html'>index</a>,<a href='contact.html'>contact</a>,<a href='get-keys.html'>get-keys</a>,<a href='template.html'>template</a>,<a href='404.html'>404</a>,<a href='403.html'>403</a>,<a href='toc.html'>toc</a>}.html,redir/{<a href='redir/blankx'>blankx</a>,<a href='redir/dotfiles'>dotfiles</a>,<a href='redir/gpgp'>gpgp</a>,<a href='redir/controller'>controller</a>,<a href='redir/command-runner'>command-runner</a>},<a href='keybase.txt'>keybase.txt</a>}</p>";
|
let toccon = "<p>sensible-browser /blankx/{{<a href='index.html'>index</a>,<a href='contact.html'>contact</a>,<a href='get-keys.html'>get-keys</a>,<a href='template.html'>template</a>,<a href='404.html'>404</a>,<a href='403.html'>403</a>,<a href='toc.html'>toc</a>}.html,redir/{<a href='redir/blankx'>blankx</a>,<a href='redir/dotfiles'>dotfiles</a>,<a href='redir/gpgp'>gpgp</a>,<a href='redir/controller'>controller</a>,<a href='redir/command-runner'>command-runner</a>},<a href='keybase.txt'>keybase.txt</a>}</p>";
|
||||||
}
|
|
||||||
document.getElementById("tocid").innerHTML = toccon;
|
document.getElementById("tocid").innerHTML = toccon;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue