Index: tests/test_site/pages/get_page_url.tmpl |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/tests/test_site/pages/get_page_url.tmpl |
@@ -0,0 +1,7 @@ |
+template = empty |
+ |
+global_canonical_url = {{ get_canonical_url('global') }} |
+ |
+# 'filter' is default page name for the test website, so we check that the |
+# link would not include the page name itself. |
+filter_canonical_url = {{ get_canonical_url('filter') }} |