okay, new approach based on feedback from the cabal
[gitmo/moose-website.git] / lib / Moose / Website / Resource / Templates / presentations.tt
index 0af116d..3cad9c5 100644 (file)
@@ -1,22 +1,23 @@
-[% WRAPPER 'wrapper/sub_page.tt' %]
+[% WRAPPER 'wrapper/root.tt' %]
 
-    <h2>[% loc('presentations header') %]</h2>
     <p>[% loc('presentations body') %]</p>
-    <ul class="presentations">
-    [% FOREACH item IN current_page.data %]
-        <li class="year">
-            [% loc(item.year) %]
-            <ul>
-                [% FOREACH presentation IN item.presentations %]
-                    <li class="presentation">
-                        <a target="_blank" href="[% presentation.url %]">[% presentation.title %]</a>
-                        [% IF presentation.video   %] (<a target="_blank" href="[% presentation.video %]">video</a>)[% END %]
-                        [% IF presentation.podcast %] (<a target="_blank" href="[% presentation.podcast %]">podcast</a>)[% END %]
-                    </li>
-                [% END %]
-            </ul>
-        </li>
-    [% END %]
-    </ul>
+    <p>
+        <ul class="presentations">
+        [% FOREACH item IN current_page.data %]
+            <li class="year">
+                [% loc(item.year) %]
+                <ul>
+                    [% FOREACH presentation IN item.presentations %]
+                        <li class="presentation">
+                            <a href="[% presentation.url %]">[% presentation.title %]</a>
+                            [% IF presentation.video   %] (<a href="[% presentation.video %]">video</a>)[% END %]
+                            [% IF presentation.podcast %] (<a href="[% presentation.podcast %]">podcast</a>)[% END %]
+                        </li>
+                    [% END %]
+                </ul>
+            </li>
+        [% END %]
+        </ul>
+    </p>
 
 [% END %]
\ No newline at end of file