aboutsummaryrefslogtreecommitdiffstats
path: root/webface/templates
diff options
context:
space:
mode:
Diffstat (limited to 'webface/templates')
-rw-r--r--webface/templates/base.html2
-rw-r--r--webface/templates/model_list.html6
2 files changed, 4 insertions, 4 deletions
diff --git a/webface/templates/base.html b/webface/templates/base.html
index 8d77a5e..b427d3a 100644
--- a/webface/templates/base.html
+++ b/webface/templates/base.html
@@ -16,7 +16,7 @@ body { font-family: monospace; font-size: larger; line-height: 1.3; }
<br><br>
<center>
-<a href="/model_list/">examples index</a> -
+<a href="/m/examples/">examples index</a> -
<a href="/readme/">full readme</a> -
<a href="https://git.bnewbold.net/modelthing">source code</a>
</center>
diff --git a/webface/templates/model_list.html b/webface/templates/model_list.html
index db11bdc..4c80315 100644
--- a/webface/templates/model_list.html
+++ b/webface/templates/model_list.html
@@ -1,9 +1,9 @@
{{# partial content}}
-<h1>Example Models</h1>
+<h1>Models</h1>
<ul>
-{{#each model_slug_list slug}}
-<li><a href="/model/{{this}}/">{{ this }}</a>
+{{#each model_slug_list }}
+<li><a href="/m/{{ this[0] }}/{{ this[1] }}/">{{ this[1] }}</a>
{{/each}}
</ul>