diff options
author | bnewbold <bnewbold@robocracy.org> | 2017-01-04 00:06:56 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2017-01-04 00:06:56 -0800 |
commit | 351a2e81fdc50a16d44efd25d1516de7afb08b11 (patch) | |
tree | c7120426a550026ac7c7c1ee540bad06f342ffeb /webface | |
parent | 4e2937fc614538fd73363a41667c9472fb6ff5f3 (diff) | |
download | modelthing-351a2e81fdc50a16d44efd25d1516de7afb08b11.tar.gz modelthing-351a2e81fdc50a16d44efd25d1516de7afb08b11.zip |
switch URL scheme to be based at /m/{namespace}/{model}/
Diffstat (limited to 'webface')
-rw-r--r-- | webface/templates/base.html | 2 | ||||
-rw-r--r-- | webface/templates/model_list.html | 6 |
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> |