]>
Commit | Line | Data |
---|---|---|
89539330 BB |
1 | --- |
2 | layout: default | |
3 | title: Cosas de Ben Beltran | |
4 | description: "N, S o Vocal. El lote abandonado de Ben Beltran. Juegos, Web y ñonerías. Siempre." | |
5 | --- | |
6 | <div class="content"> | |
7 | {% for post in paginator.posts %} | |
23760dda BB |
8 | <div class="postcontainer {{post.color}}"> |
9 | <div class="post-image"> | |
10 | <img src="/img/headers/{{ post.header_image }}"> | |
11 | </div> | |
12 | <h1 id="{{post.id}}">{{ post.title }}</h1> | |
13 | <div class="post-meta"> | |
14 | <div class="post-date"><a href="{{ post.url }}">{{ post.date | date: "%Y-%m-%e"}}</a></div> | |
15 | <div class="post-tags"> | |
89539330 | 16 | {% for tag in post.tags %} |
038a5d37 | 17 | <a href="/tags/{{tag}}">{{tag}}</a> |
89539330 | 18 | {% endfor %} |
23760dda | 19 | </div> |
89539330 | 20 | </div> |
23760dda BB |
21 | <div class="postcontent"> |
22 | {{ post.content }} | |
23 | </div> | |
24 | <a class="go-to-top" href="#{{post.id}}">↑ Go to top of article</a> | |
89539330 | 25 | </div> |
89539330 BB |
26 | {% endfor %} |
27 | </div> | |
23760dda | 28 | <div class="row paginator"> |
89539330 BB |
29 | <div class="span2"> |
30 | {% if paginator.previous_page %} | |
31 | {% if paginator.previous_page == 1 %} | |
32 | <a href="/">← Previous | |
33 | Page</a> | |
34 | {% else %} | |
35 | <a href="/page{{ paginator.previous_page }}">← Previous | |
36 | Page</a> | |
37 | {% endif %} | |
38 | {% else %} | |
39 | | |
40 | {% endif %} | |
41 | </div> | |
8d331b40 | 42 | <div class="span2 offset3"> |
89539330 BB |
43 | {% if paginator.next_page %} |
44 | <a href="/page{{ paginator.next_page }}">Next Page →</a> | |
45 | {% else %} | |
46 | | |
47 | {% endif %} | |
48 | </div> | |
23760dda | 49 | </div> |