diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-06-07 18:24:25 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-06-07 19:13:08 +0200 |
commit | 7130402cfecc196ce79c8f07a9dba71974f085e3 (patch) | |
tree | 072e82de987c0a1f9d1fac8be9c8f097e9a9f37f /modules/private/websites/immae/history/index.html | |
parent | fe4199f8ab922735b81557f71199fa73a378e540 (diff) | |
download | Nix-7130402cfecc196ce79c8f07a9dba71974f085e3.tar.gz Nix-7130402cfecc196ce79c8f07a9dba71974f085e3.tar.zst Nix-7130402cfecc196ce79c8f07a9dba71974f085e3.zip |
Add history page
Diffstat (limited to 'modules/private/websites/immae/history/index.html')
-rw-r--r-- | modules/private/websites/immae/history/index.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/private/websites/immae/history/index.html b/modules/private/websites/immae/history/index.html new file mode 100644 index 0000000..e9226e4 --- /dev/null +++ b/modules/private/websites/immae/history/index.html | |||
@@ -0,0 +1,18 @@ | |||
1 | --- | ||
2 | layout: default | ||
3 | permalink: / | ||
4 | pagination: | ||
5 | permalink: /page/:num/ | ||
6 | enabled: true | ||
7 | indexpage: 'index' | ||
8 | --- | ||
9 | <div class="post_list"> | ||
10 | {% for post in paginator.posts %} | ||
11 | {% include post.html title=post.title category=post.category url=post.url date=post.date content=post.content %} | ||
12 | <hr> | ||
13 | {% endfor %} | ||
14 | |||
15 | {% if paginator.next_page %} | ||
16 | <a href="{{ paginator.next_page_path | replace: 'index.html', '' | prepend: site.baseurl }}" class="d-block text-center p-3 text-muted next-page">Load More Updates</a> | ||
17 | {% endif %} | ||
18 | </div> \ No newline at end of file | ||