aboutsummaryrefslogtreecommitdiff
path: root/source/templates/languages.html
blob: 229dae17b98df3158dd0d8e297953ccd2dfe4402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## languages.html
<%inherit file="base.html"/>
<div class="left inner">
    <ul>
    %for language in articles_sorted_by_languages.keys():
        <li>${language}: ${sum(map(len, articles_sorted_by_languages[language].values()))} articles</li>
    %endfor
    </ul>
    %for language in articles_sorted_by_languages.keys():
        <h1>${language}</h1>
        %for feed in articles_sorted_by_languages[language]:
            <h2>${feed}</h2>
            %for article in articles_sorted_by_languages[language][feed]:
                ${article["article_title"]}
                <br />
            %endfor
            <br />
        %endfor
        <br />
    %endfor
bgstack15