mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
custom pages tests templates now in repo
This commit is contained in:
parent
e02f6c1300
commit
b37431976c
10 changed files with 15 additions and 33 deletions
2
tests/test_templates/pages/route_{name}.html
Normal file
2
tests/test_templates/pages/route_{name}.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{% if name == "OhNo" %}{{ raise_404("Oh no") }}{% endif %}
|
||||
<p>Hello from {{ name }}</p>
|
||||
Loading…
Add table
Add a link
Reference in a new issue