Commits

shl...@13c2ddb8-3aa7-4284-800b-8db07c650eef  committed 4e59185

Added the news in the box.

  • Participants
  • Parent commits 6753481
  • Branches site-redesign-take-2

Comments (0)

Files changed (2)

File src/index.html.wml

 Perl as their first language.
 </p>
 
-<h2><a href="$(ROOT)/news/">News</a></h2>
+<perl_begin_news>
+<div class="sidebarbox-border bg-yellow03">
+<div class="sidebarbox-title-shading bg-yellow07"><a href="$(ROOT)/news/">News</a></div>
 <ul>
 <li>
-07-Jul-06: <a href="$(ROOT)/news/#news_07_Jul_2006">Wiki moved to 
+07-Jul-06: <a href="$(ROOT)/news/#news_07_Jul_2006">Wiki moved to
 perl.net.au</a>.
 </li>
 <li>
 <a href="$(ROOT)/news/">More news...</a>
 </li>
 </ul>
+</div>
+</perl_begin_news>
 
 <h2>What is Perl?</h2>
 

File template.wml

           <li><a href="#"><img class="img-flag" src="./img/flag_france.gif" title ="Website en Francais" alt=""/></a></li>
           <li><a href="#"><img class="img-flag" src="./img/flag_germany.gif" title ="Website auf Deutsch" alt=""/></a></li>
 </define-tag>
+
+<define-tag perl_begin_news endtag="required" whitespace="delete">
+{#PERL_BEGIN_NEWS#:%body:##}
+</define-tag>
+
 <body>
 
   <div id="page-container">
     <h3 class="hide">Sidebar</h3>    
     <div class="sidebar sidebar-font">
 
-      <div class="sidebarbox-border bg-yellow03">
-        <div class="sidebarbox-title-shading bg-yellow07">News and Links</div>
-        <p>Use this column for news, events, links, ad banners, or other things.</p>              
-        <p><a href="#">Link A</a></p>
-        <p><a href="#">Link B</a></p>    
-      </div>                        
+      {#PERL_BEGIN_NEWS#}
 
       <div class="sidebarbox-border bg-blue02">
         <div class="sidebarbox-title-shading bg-blue05 txt-white">Check out options!</div>