It is hard to remember to add `/` at the end of the URL when configuring
a new etherpad URL. Also, web server proxies tend to do weird stuff when
you assume that you have a slash on the end of each URL.
So, I took a look at how to avoid doing that. It turns out that both
urljoin / os.path.join are kinda bad for handling URL building. Also,
APPLICATION_ROOT didn't seem that necessary since Flask knows what to do
with a `/` at the start of a URL, so I dropped it.
I think this doesn't break anything!
<h1>${ name } <ahref="${ application_root }"><emclass="octomode">in octomode</em></a></h1>
<h1>{{ name }} <ahref="/"><emclass="octomode">in octomode</em></a></h1>
<divid="buttons">
<ahref="${ application_root }${ name }/pad/"><button>pad</button></a>: <inputtype="text"name="pad"value="https://pad.vvvvvvaria.org/${ name }.md">
<ahref="${ application_root }${ name }/stylesheet/"><button>stylesheet</button></a>: <inputtype="text"name="pad"value="https://pad.vvvvvvaria.org/${ name }.css">
<ahref="${ application_root }${ name }/html/"><button>html</button></a>
<ahref="${ application_root }${ name }/pdf/"><button>pdf</button></a>
<ahref="/{{ name }}/pad"><button>pad</button></a>:
<inputtype="text"name="pad"value="https://pad.vvvvvvaria.org/{{ name }}.md">
<ahref="/{{ name }}/stylesheet"><button>stylesheet</button></a>:
<inputtype="text"name="pad"value="https://pad.vvvvvvaria.org/{{ name }}.css">
<ahref="/{{ name }}/html"><button>html</button></a>