Last active
August 29, 2015 14:26
-
-
Save steelydylan/3dc9b71fa824e888e4e9 to your computer and use it in GitHub Desktop.
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
<!-- BEGIN_MODULE Entry_List --> | |
<div> | |
<ul> | |
<!-- BEGIN_MODULE Topicpath --> | |
<!-- BEGIN\ entry:loop --> | |
<li><a href="\{url\}">\{title\}[ | |
<!-- BEGIN blog:loop --> | |
<!-- BEGIN glue --> < <!-- END glue --> | |
<span>{name}</span> | |
<!-- END blog:loop --> | |
<!-- BEGIN category:loop --> | |
<!-- BEGIN glue --> < <!-- END glue --> | |
<span>{name}</span> | |
<!-- END category:loop --> | |
<!-- BEGIN entry --> | |
<!-- BEGIN glue --> < <!-- END glue --> | |
<span>{title}</span> | |
<!-- END entry --> | |
]</a></li> | |
<!-- END\ entry:loop --> | |
<!-- END_MODULE Topicpath --> | |
</ul> | |
</div> | |
<!-- END_MODULE Entry_List --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
a-blog cmsでは内側のモジュールから順に解釈されますので、トピックパスモジュールにエントリーリストの{url}や{title}を解釈されない様に、\で、カッコの前でエスケープしています。
さらに、BEGINブロックなどもBEGINのあとに\をつけることでエスケープできます。