Skip to content

Commit 5ece6bc

Browse files
committed
Update if_article_id
– Single quotes for tag-in-tag attribute – not instead of empty txp:else
1 parent 9526d5b commit 5ece6bc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tags/if_article_id.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,8 @@ Other tags used: [title](/tags/title).
5959
### Example 2: Display a list of articles omitting current article
6060

6161
~~~ html
62-
<txp:article_custom label="related" labeltag="h4" section="<txp:section />" wraptag="ul">
63-
<txp:if_article_id>
64-
<txp:else />
62+
<txp:article_custom label="related" labeltag="h4" section='<txp:section />' wraptag="ul">
63+
<txp:if_article_id not>
6564
<li>
6665
<txp:permlink>
6766
<txp:title />

0 commit comments

Comments
 (0)