diff options
author | Thomas Lange <lange@debian.org> | 2020-10-06 16:55:21 +0200 |
---|---|---|
committer | Thomas Lange <lange@debian.org> | 2020-10-06 16:55:21 +0200 |
commit | 36c9ea6f166ee6b99c68ec12084abc3a8c4fb406 (patch) | |
tree | 5935eaf5d17b434a4e6e9cd2f498492ee5c268c4 | |
parent | 8d0fcb74242fd26842c631541e34838f0e86c8e6 (diff) |
use get_top_news()
-rw-r--r-- | armenian/index.wml | 2 | ||||
-rw-r--r-- | chinese/index.wml | 2 | ||||
-rw-r--r-- | danish/index.wml | 2 | ||||
-rw-r--r-- | dutch/index.wml | 2 | ||||
-rw-r--r-- | french/index.wml | 2 | ||||
-rw-r--r-- | portuguese/index.wml | 2 | ||||
-rw-r--r-- | spanish/index.wml | 2 | ||||
-rw-r--r-- | swedish/index.wml | 4 |
8 files changed, 9 insertions, 9 deletions
diff --git a/armenian/index.wml b/armenian/index.wml index 2b219daa4fc..c9077849303 100644 --- a/armenian/index.wml +++ b/armenian/index.wml @@ -117,7 +117,7 @@ <h2>Debian նորություններ և հայտարարություններ</h2> </div> - <p><:= get_recent_list('News/$(CUR_YEAR)', '4', '$(ENGLISHDIR)', 'frontpage', '\d+\w*' ) :></p> + <p><:= get_top_news() :></p> <!-- No more News entries behind this line! --> <div class="project-news"> diff --git a/chinese/index.wml b/chinese/index.wml index 4a485a13739..d6d79f73af2 100644 --- a/chinese/index.wml +++ b/chinese/index.wml @@ -116,7 +116,7 @@ <h2> Debian 新闻与通告</h2> </div> - <p><:= get_recent_list('News/$(CUR_YEAR)', '4', '$(ENGLISHDIR)', 'frontpage', '\d+\w*' ) :></p> + <p><:= get_top_news() :></p> <!-- No more News entries behind this line! --> <div class="project-news"> diff --git a/danish/index.wml b/danish/index.wml index 86d57120f9f..7365bb9c7d1 100644 --- a/danish/index.wml +++ b/danish/index.wml @@ -116,7 +116,7 @@ <h2>Nyheder og annonceringer om Debian</h2> </div> - <p><:= get_recent_list('News/$(CUR_YEAR)', '4', '$(ENGLISHDIR)', 'frontpage', '\d+\w*' ) :></p> + <p><:= get_top_news() :></p> <!-- No more News entries behind this line! --> <div class="project-news"> diff --git a/dutch/index.wml b/dutch/index.wml index 20e71433a61..7287420c933 100644 --- a/dutch/index.wml +++ b/dutch/index.wml @@ -117,7 +117,7 @@ <h2>Nieuws en aankondigingen over Debian</h2> </div> - <p><:= get_recent_list('News/$(CUR_YEAR)', '4', '$(ENGLISHDIR)', 'frontpage', '\d+\w*' ) :></p> + <p><:= get_top_news() :></p> <!-- No more News entries behind this line! --> <div class="project-news"> diff --git a/french/index.wml b/french/index.wml index aa4799fcf4f..bc3c1991601 100644 --- a/french/index.wml +++ b/french/index.wml @@ -116,7 +116,7 @@ <h2>Nouvelles et annonces de Debian</h2> </div> - <p><:= get_recent_list('News/$(CUR_YEAR)', '4', '$(ENGLISHDIR)', 'frontpage', '\d+\w*' ) :></p> + <p><:= get_top_news() :></p> <!-- No more News entries behind this line! --> <div class="project-news"> diff --git a/portuguese/index.wml b/portuguese/index.wml index 9bcaf6090bb..ad8ff8dbf18 100644 --- a/portuguese/index.wml +++ b/portuguese/index.wml @@ -2,7 +2,7 @@ #use wml::debian::recent_list #include "$(ENGLISHDIR)/index.def" #use wml::debian::mainpage title="<motto>" -#use wml::debian::translation-check translation="a55a6a0c716dd6d81cb1b5d14efeed5c46c5c5f6" maintainer="Qobi Ben Nun" +#use wml::debian::translation-check translation="8d0fcb74242fd26842c631541e34838f0e86c8e6" maintainer="Qobi Ben Nun" #include "$(ENGLISHDIR)/releases/info" #include "$(ENGLISHDIR)/releases/images.data" diff --git a/spanish/index.wml b/spanish/index.wml index 065c2c6622e..3a2b3f9553c 100644 --- a/spanish/index.wml +++ b/spanish/index.wml @@ -116,7 +116,7 @@ <h2>Noticias y anuncios acerca de Debian</h2> </div> - <p><:= get_recent_list('News/$(CUR_YEAR)', '4', '$(ENGLISHDIR)', 'frontpage', '\d+\w*' ) :></p> + <p><:= get_top_news() :></p> <!-- No more News entries behind this line! --> <div class="project-news"> diff --git a/swedish/index.wml b/swedish/index.wml index c0496fff965..fda22791e23 100644 --- a/swedish/index.wml +++ b/swedish/index.wml @@ -3,7 +3,7 @@ #include "$(ENGLISHDIR)/index.def" #use wml::debian::mainpage title="<motto>" -#use wml::debian::translation-check translation="a55a6a0c716dd6d81cb1b5d14efeed5c46c5c5f6" +#use wml::debian::translation-check translation="8d0fcb74242fd26842c631541e34838f0e86c8e6" #include "$(ENGLISHDIR)/releases/info" #include "$(ENGLISHDIR)/releases/images.data" @@ -117,7 +117,7 @@ <h2>Nyheter och tillkännagivaden om Debian</h2> </div> - <p><:= get_recent_list('News/$(CUR_YEAR)', '4', '$(ENGLISHDIR)', 'frontpage', '\d+\w*' ) :></p> + <p><:= get_top_news() :></p> <!-- No more News entries behind this line! --> <div class="project-news"> |