summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2008-11-10 12:47:04 +0100
committerThomas Schwinge <tschwinge@gnu.org>2008-11-10 12:47:04 +0100
commit45caef71d9099d4f002159829baa6fb983fe7f64 (patch)
treebc2efa1a55165ab0794bb8e3b607b4e997b7910d
parent3d08669796fc4dd81b1d717f46b14b14dfaa1f57 (diff)
Use the newsitem template for the news items.
-rw-r--r--.templates/newsitem.tmpl16
-rw-r--r--index.mdwn1
2 files changed, 9 insertions, 8 deletions
diff --git a/.templates/newsitem.tmpl b/.templates/newsitem.tmpl
index 984d33ce..97098ca5 100644
--- a/.templates/newsitem.tmpl
+++ b/.templates/newsitem.tmpl
@@ -1,6 +1,6 @@
-<div class="inlinepage">
+<div class="newsitem">
-<div class="inlineheader">
+<div class="newsitemheader">
<TMPL_IF NAME="AUTHOR">
<span class="author">
@@ -19,13 +19,13 @@
</TMPL_IF>
</span>
-</div><!--.inlineheader-->
+</div><!--.newsitemheader-->
-<div class="inlinecontent">
+<div class="newsitemcontent">
<TMPL_VAR CONTENT>
-</div><!--.inlinecontent-->
+</div><!--.newsitemcontent-->
-<div class="inlinefooter">
+<div class="newsitemfooter">
<span class="pagedate">
Posted <TMPL_VAR CTIME>
@@ -65,6 +65,6 @@ License: <TMPL_VAR LICENSE>
</div><!--.actions-->
</TMPL_IF>
-</div><!--.inlinefooter-->
+</div><!--.newsitemfooter-->
-</div><!--.inlinepage-->
+</div><!--.newsitem-->
diff --git a/index.mdwn b/index.mdwn
index 49057912..d2e6e639 100644
--- a/index.mdwn
+++ b/index.mdwn
@@ -29,6 +29,7 @@ pages="news/* and !*/discussion"
show=3
sort=title
reverse=yes
+template=newsitem
actions=yes]]
Read [[older_news_entries|news]].