switch to permalink system that redirects to current page location

This commit is contained in:
2022-03-08 11:56:59 +00:00
parent dbe652f531
commit 485022a1a6
5 changed files with 45 additions and 12 deletions

View File

@@ -13,7 +13,7 @@
<div id="sidebar">
<div id="header">
<p class="smallText">
<a href="/permalink/$uuid$">permalink</a>
<a href="/permalink?uuid=$uuid$">permalink</a>
</p>
<p class="smallText"> tags: [
$for(tags)$

View File

@@ -0,0 +1,19 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta charset="utf-8">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" />
<link rel="stylesheet" type="text/css" href="/styles.css" />
<title></title>
</head>
<body>
<div id="content">
<p>
You should be being redirected...
Otherwise, click <a id="manual_redirect">here</a>.
</p>
<p class="smallText"> page generated by <a href="https://github.com/alvierahman90/notes2web">notes2web</a></p>
</div>
<script> const data = $data$ </script>
<script src="/permalink.js"> </script>
</body>