Skip to content

Instantly share code, notes, and snippets.

@atstyle atstyle/gist:8573818
Last active Jan 4, 2016

Embed
What would you like to do?
狙ったフォルダのみを表示してウェブページを展開 MTML
<mt:SetVar name="keyword" value="dog">
<ul>
<mt:Folders>
<mt:SetVarBlock name="CurFldName"><mt:FolderLabel></mt:SetVarBlock>
<mt:If name="CurFldName" like="$keyword">
<li><$mt:FolderLabel$>(<$mt:FolderCount$>)</li>
<ul>
<mt:Pages folder="$CurFldName" lastn="5">
<li><a href="<$mt:PagePermalink$>"><$mt:PageTitle$></a></li>
</mt:Pages>
</ul>
</mt:If>
</mt:Folders>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.