Browse Source

adding application root to main link

pull/30/head
manetta 3 years ago
parent
commit
a7ad64562c
  1. 2
      templates/base.html

2
templates/base.html

@ -23,7 +23,7 @@ window.addEventListener('load', function () {
const application_root = '{{ application_root }}'; const application_root = '{{ application_root }}';
nav.innerHTML = ` nav.innerHTML = `
<h1>${ name } <a href="/"><em class="octomode">in octomode</em></a></h1> <h1>${ name } <a href="${ application_root }"><em class="octomode">in octomode</em></a></h1>
<div id="buttons"> <div id="buttons">
<a href="${ application_root }${ name }/pad/"><button>pad</button></a>: <input type="text" name="pad" value="https://pad.vvvvvvaria.org/${ name }.md"> <a href="${ application_root }${ name }/pad/"><button>pad</button></a>: <input type="text" name="pad" value="https://pad.vvvvvvaria.org/${ name }.md">
<a href="${ application_root }${ name }/stylesheet/"><button>stylesheet</button></a>: <input type="text" name="pad" value="https://pad.vvvvvvaria.org/${ name }.css"> <a href="${ application_root }${ name }/stylesheet/"><button>stylesheet</button></a>: <input type="text" name="pad" value="https://pad.vvvvvvaria.org/${ name }.css">

Loading…
Cancel
Save