]>
Commit | Line | Data |
---|---|---|
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 %} | |
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"> | |
16 | {% for tag in post.tags %} | |
17 | <a href="/tags/{{tag}}">{{tag}}</a> | |
18 | {% endfor %} | |
19 | </div> | |
20 | </div> | |
21 | <div class="postcontent"> | |
22 | {{ post.content }} | |
23 | </div> | |
24 | <a class="go-to-top" href="#{{post.id}}">↑ Go to top of article</a> | |
25 | </div> | |
26 | {% endfor %} | |
27 | </div> | |
28 | <div class="row paginator"> | |
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> | |
42 | <div class="span2 offset3"> | |
43 | {% if paginator.next_page %} | |
44 | <a href="/page{{ paginator.next_page }}">Next Page →</a> | |
45 | {% else %} | |
46 | | |
47 | {% endif %} | |
48 | </div> | |
49 | </div> |