basant/basant/partial/index_table.html

32 lines
690 B
HTML

<!DOCTYPE html>
<html lang="en">
{{head}}
<body class="flow-large container">
<header>
<a href="recents.html" aria-label="{{page_title}}">{{config.name_of_site}}</a>
</header>
<main>
{{page_navigation}}
<h1> {{page_title}} </h1>
<div id='piles' style="float: left;">
<table style="width:100%">
<tr>
{% set count = namespace(value=0) %}
{% for index_url, c in index_urls.items() %}
<td> <a href="{{index_url}}_index.html">{{index_url}}</a> {{c}}</td>
{% set count.value = count.value + 1 %}
{% if count.value == 5 %}
</tr>
<tr>
{% set count.value = 0 %}
{% endif %}
{% endfor %}
</table>
</div>
</main>
</body>
</html>