From 16b4248e7d307e3e32f73892332087a239b195ac Mon Sep 17 00:00:00 2001 From: Qrius Date: Wed, 23 Apr 2025 12:33:45 +0200 Subject: Rename some macros, add stack trace system --- tests/skaldpress/content/article.md | 1 + tests/skaldpress/templates/article.html | 6 +----- tests/skaldpress/templates/base.html | 3 ++- tests/smp/include_1 | 2 +- tests/smp/include_2 | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) (limited to 'tests') 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

METADATA_title

@@ -17,6 +14,5 @@ DNL include(templates/common_macros.smp)DNL ) - CONTENT + indent(4, CONTENT) - 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 @@ Home - CONTENT + indent(8, CONTENT) +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 -- cgit v1.2.3