Skip to content

Commit 33fef82

Browse files
committed
Move the reset block inside the article flow
1 parent 3aeaa9a commit 33fef82

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/templates/pages/all.txp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
<txp:header name="Content-Type" value="application/json; charset=utf-8" />
2+
{"all_txp_plugins": [
3+
<article::custom section="plugins" limit="0" sort="title">
14
<txp:hide>Initialize all variables so they don't hang around after each article</txp:hide>
25
<txp:variable name="json-repo-XXX" reset output="" />
36
<txp:variable name="json-require-plugin" reset output="" />
@@ -15,10 +18,6 @@
1518
<txp:variable name="json-stable-txt" reset output="" />
1619
<txp:variable name="json-latest-is-beta" reset output="" />
1720
<txp:variable name="superseded-by-type" reset output="" />
18-
19-
<txp:header name="Content-Type" value="application/json; charset=utf-8" />
20-
{"all_txp_plugins": [
21-
<article::custom section="plugins" limit="0" sort="title">
2221
<txp:output_form form="json_card_reader" />
2322
<txp:output_form form="json_card" />
2423
<if::last_article not>,</if::last_article>

0 commit comments

Comments
 (0)