root/trunk/plagger/assets/plugins/Publish-JavaScript/javascript.tt

Revision 300 (checked in by cwest, 3 years ago)

Move plugin assets into assets/plugin

Line 
1 [% USE JavaScript -%]
2 document.write('[% FILTER js -%]
3 <div class="module">
4 <h2 class="module-header">[% feed.title | html %]</h2>
5 <div class="module-content"><ul class="module-list">
6 [% FOREACH entry = feed.entries -%]
7 <li class="module-list-item"><a href="[% entry.link | html %]">[% entry.title | html %]</a></li>
8 [% END -%]
9 </ul>
10 </div>
11 </div>
12 [%- END %]');
Note: See TracBrowser for help on using the browser.