Last active
February 21, 2019 16:08
-
-
Save matdave/2d3853aefc9ec1b08bee17af9f4fa9d1 to your computer and use it in GitHub Desktop.
getResource with NO tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<h3>[[+longtitle:default=`[[+pagetitle]]`]]</h3> | |
<p class="small pb-0">Posted: [[+publishedon:strtotime:date=`%B %e, %Y`]]</p> | |
<p class="muted">[[+introtext]]</p> | |
[[+content]] | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>[[+tag]]</h2> | |
[[getResources? | |
&parents=`5` | |
&limit=`0` | |
&tpl=`list_row_tpl` | |
&sortby=`publishedon` | |
&sortdir=`DESC` | |
&includeContent=`1` | |
&includeTVs=`1` &processTVs=`1` &tvPrefix=`tv.` | |
&where=`[[TaggerGetResourcesWhere? &tags=`[[+tag]]`]]` | |
]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment