Sha256: 6fa08215354a2a7a5813c9647ff2f0b2b2acd75e554a95892d3465a21ddfb1b3
Contents?: true
Size: 1.8 KB
Versions: 30
Compression:
Stored size: 1.8 KB
Contents
--- layout: default --- <article class="container typo"> <section class="journals"> <div class="journal-list"> {% for post in paginator.posts %} {% if post.journal %} <article class="journal"> <h4> <code class="highlighter-rouge">{{ post.journal }}: </code> <a class="journal-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> </h4> <p class="typo-small">{{ post.content }}</p> </article> {% else %} <article class="blog"> <h4> <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> {% assign date_format = site.gravid.date_format | default: "%m/%d/%Y" %} <small class="post-meta">{{ post.date | date: date_format }}</small> </h4> <p class="typo-small">{{ post.content | split:"<!-- more -->" | first | strip_html }}</p> </article> {% endif %} {% endfor %} </div> {% if paginator.total_pages > 1 %} <div class="pagination"> {% assign newer_page = 'Newer Journals' %} {% assign older_text = 'Older Journals' %} {% if site.language == 'zh-CN' %} {% assign newer_page = '上一页' %} {% assign older_text = '下一页' %} {% endif %} {% if paginator.previous_page %} <a class="next" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← {{ newer_page }}</a> {% endif %} {% if paginator.next_page %} <a class="previous" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ older_text }} →</a> {% endif %} </div> {% endif %} </section> </article>
Version data entries
30 entries across 30 versions & 1 rubygems