[cairo-commit] [cairo-www] src/index.mdwn templates/dateandtitle.tmpl
Nis Martensen
nmartensen at freedesktop.org
Tue Dec 4 13:08:54 PST 2007
src/index.mdwn | 2 +-
templates/dateandtitle.tmpl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f99f0b501026e7648d7eb949848cbdf01f67d617
Author: Nis Martensen <nis.martensen at web.de>
Date: Tue Dec 4 22:08:29 2007 +0100
Use new timeformat attribute
diff --git a/src/index.mdwn b/src/index.mdwn
index 7d93b45..f29f1e9 100644
--- a/src/index.mdwn
+++ b/src/index.mdwn
@@ -1,5 +1,5 @@
[[pagetemplate template=welcome.tmpl]]
-Latest [[news]]: [[inline pages="news/*" archive="yes" show="2" feeds="no" template="dateandtitle"]]
+Latest [[news]]: [[inline pages="news/*" archive="yes" show="2" feeds="no" template="dateandtitle" timeformat="%F"]]
* * *
diff --git a/templates/dateandtitle.tmpl b/templates/dateandtitle.tmpl
index 6d99d80..d555b8b 100644
--- a/templates/dateandtitle.tmpl
+++ b/templates/dateandtitle.tmpl
@@ -1 +1 @@
-<TMPL_VAR DATE>: <a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
+<TMPL_VAR CTIME>: <a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
More information about the cairo-commit
mailing list