Skip to content

Commit 3f07bb8

Browse files
committed
Work on heading module
1 parent b400792 commit 3f07bb8

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

templates/forms/misc/-homepage-modules.txp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="container">
33

44
<main id="main" aria-label="Main content">
5-
<txp:output_form form="-module--text--heading01" />
5+
<txp:output_form form="-module--text--heading01" id="null" section="null" category="null" />
66
</main>
77

88
</div>

templates/forms/misc/-module--text--heading01.txp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<div class="align-center py-2">
2-
<txp:article_custom
3-
section='pageless-content'
4-
category='test'>
2+
<txp:article_custom limit="1"
3+
id=''
4+
section='<txp:yield name="section" default="null" />'
5+
category='<txp:yield name="category" default="null" />'>
56
<txp:if_excerpt><h3><txp:excerpt escape="tidy, p, h1, h2, h3, h4, h5, h6" /></h3></txp:if_excerpt>
67
<h1><txp:title /></h1>
78
<txp:if_yield name="call-to-action"><txp:yield name="call-to-action" /></txp:if_yield>

themes/hive-framework-0.0.5/forms/misc/-homepage-modules.txp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="container">
33

44
<main id="main" aria-label="Main content">
5-
<txp:output_form form="-module--text--heading01" />
5+
<txp:output_form form="-module--text--heading01" id="null" section="null" category="null" />
66
</main>
77

88
</div>

themes/hive-framework-0.0.5/forms/misc/-module--text--heading01.txp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<div class="align-center py-2">
2-
<txp:article_custom
3-
section='pageless-content'
4-
category='test'>
2+
<txp:article_custom limit="1"
3+
id=''
4+
section='<txp:yield name="section" default="null" />'
5+
category='<txp:yield name="category" default="null" />'>
56
<txp:if_excerpt><h3><txp:excerpt escape="tidy, p, h1, h2, h3, h4, h5, h6" /></h3></txp:if_excerpt>
67
<h1><txp:title /></h1>
78
<txp:if_yield name="call-to-action"><txp:yield name="call-to-action" /></txp:if_yield>

0 commit comments

Comments
 (0)