aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/skaldpress/content/article.md1
-rw-r--r--tests/skaldpress/templates/article.html6
-rw-r--r--tests/skaldpress/templates/base.html3
-rw-r--r--tests/smp/include_12
-rw-r--r--tests/smp/include_22
5 files changed, 6 insertions, 8 deletions
diff --git a/tests/skaldpress/content/article.md b/tests/skaldpress/content/article.md
index b20468c..7d99e15 100644
--- a/tests/skaldpress/content/article.md
+++ b/tests/skaldpress/content/article.md
@@ -9,3 +9,4 @@ tags:
---
This is a example article
+
diff --git a/tests/skaldpress/templates/article.html b/tests/skaldpress/templates/article.html
index cb3b58b..c47a114 100644
--- a/tests/skaldpress/templates/article.html
+++ b/tests/skaldpress/templates/article.html
@@ -1,10 +1,7 @@
---
template: base.html
table_of_contents: true
-keep_states:
- - TOC_ITEMS
---
-DNL include(templates/common_macros.smp)DNL
<header>
<h1>METADATA_title</h1>
</header>
@@ -17,6 +14,5 @@ DNL include(templates/common_macros.smp)DNL
)
</div>
- CONTENT
+ indent(4, CONTENT)
</main>
-
diff --git a/tests/skaldpress/templates/base.html b/tests/skaldpress/templates/base.html
index aa73ffc..b66a00b 100644
--- a/tests/skaldpress/templates/base.html
+++ b/tests/skaldpress/templates/base.html
@@ -5,10 +5,11 @@
<a href="/">Home</a>
</nav>
- CONTENT
+ indent(8, CONTENT)
<footer>
</footer>
</body>
</html>
+dumpenv
diff --git a/tests/smp/include_1 b/tests/smp/include_1
index 1621de2..9664507 100644
--- a/tests/smp/include_1
+++ b/tests/smp/include_1
@@ -1,3 +1,3 @@
-include(tests/example_include.smp)
+include_file(tests/example_include.smp)
---
diff --git a/tests/smp/include_2 b/tests/smp/include_2
index 2714eff..b69fe13 100644
--- a/tests/smp/include_2
+++ b/tests/smp/include_2
@@ -1,4 +1,4 @@
-include(tests/example_include.smp)SNNL
+include_file(tests/example_include.smp)SNNL
ifdef(SMP, SMP_ISDEF, SMP_ISNDEF)
---
SMP_ISDEF