diff options
author | Laura Arjona Reina <larjona@debian.org> | 2019-11-07 19:43:25 +0100 |
---|---|---|
committer | Laura Arjona Reina <larjona@debian.org> | 2019-12-13 19:53:05 +0100 |
commit | 5ff5706818568f18feadc96038c61cc7a4eb27fd (patch) | |
tree | 3a66e7009b231110d783277a584cd85c2da68392 /english/index.wml | |
parent | 49161994303856b7e59be876968c5ce3d11981fa (diff) |
move the formatting of the list of news in the homepage to the recent_list function. The correct display of the date is not ready, it needs work
Diffstat (limited to 'english/index.wml')
-rw-r--r-- | english/index.wml | 47 |
1 files changed, 3 insertions, 44 deletions
diff --git a/english/index.wml b/english/index.wml index 2b6215bdb79..0d771980618 100644 --- a/english/index.wml +++ b/english/index.wml @@ -1,4 +1,5 @@ #use wml::debian::links.tags +#use wml::debian::recent_list #include "$(ENGLISHDIR)/index.def" #use wml::debian::mainpage title="<motto>" @@ -186,50 +187,8 @@ <h1><projectnews></h1> <h2>News and Announcements about Debian!</h2> </div> - <!-- First, most recent News entry. --> - <div class="project-news"> - <time datetime="2019-09-08" class="date-as-calendar position-em size1_25x"> - <span class="day">08</span> - <span class="month">November</span> - <span class="year">2019</span> - </time> - <div class="project-news-content"> - <a href="News/2019/20190908">Update for Debian 9: Debian 9.11 released</a> - </div> - </div> - <!-- Second News entry. --> - <div class="project-news"> - <time datetime="2019-09-07" class="date-as-calendar position-em size1_25x"> - <span class="day">07</span> - <span class="month">September</span> - <span class="year">2019</span> - </time> - <div class="project-news-content"> - <a href="News/2019/20190907">Update for Debian 10: Debian 10.1 released</a> - </div> - </div> - <!-- Third News entry. --> - <div class="project-news"> - <time datetime="2019-07-27" class="date-as-calendar position-em size1_25x"> - <span class="day">27</span> - <span class="month">July</span> - <span class="year">2019</span> - </time> - <div class="project-news-content"> - <a href="News/2019/20190727">DebConf19 closes in Curitiba and DebConf20 dates announced</a> - </div> - </div> - <!-- Fourth News entry. --> - <div class="project-news"> - <time datetime="2019-07-07" class="date-as-calendar position-em size1_25x"> - <span class="day">07</span> - <span class="month">July</span> - <span class="year">2019</span> - </time> - <div class="project-news-content"> - <a href=" News/2019/20190707">Debian Edu / Skolelinux Buster — a complete Linux solution for your school</a> - </div> - </div> + + <p><:= get_recent_list('News/$(CUR_YEAR)', '4', '$(ENGLISHDIR)', 'frontpage', '\d+\w*' ) :></p> <!-- No more News entries behind this line! --> <div class="project-news"> |