Mercurial > web-octave
comparison news.md @ 104:1222b6208a70
Take the news-page look of index.html
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Wed, 02 Nov 2016 10:50:35 +0100 |
parents | e7efa40deb17 |
children | 585fc24ed727 |
comparison
equal
deleted
inserted
replaced
103:34cd51c807b1 | 104:1222b6208a70 |
---|---|
2 layout: page | 2 layout: page |
3 title: News | 3 title: News |
4 menu: true | 4 menu: true |
5 --- | 5 --- |
6 | 6 |
7 <a class="right" href="{{ "/feed.xml" | relative_url }}"> | 7 <section> |
8 <span class="label warning"> | 8 <div class="row"> |
9 RSS | 9 <div class="columns small-12"> |
10 </span> | 10 {% for post in site.posts %} |
11 </a> | 11 <div class="panel callout"> |
12 | 12 {% if post == site.posts.first %} |
13 {% for post in site.posts %} | 13 <a class="right" href="{{ "/feed.xml" | relative_url }}"> |
14 {% if post.title == "News Archive" %} | 14 <span class="label warning"> |
15 - [**{{ post.title }}**]({{ post.url | relative_url }}) | 15 RSS |
16 {% else %} | 16 </span> |
17 - [**{{ post.title }}**]({{ post.url | relative_url }}) | 17 </a> |
18 ({{ post.date | date: "%b %-d, %Y" }}) | 18 {% endif %} |
19 | 19 {% if post.title == "News Archive" %} |
20 | 20 <h3 class="entry-title"> |
21 <div class="news-content"> | 21 <a href="{{ post.url | relative_url }}">{{ post.title }}</a> |
22 {{ post.excerpt }} | 22 </h3> |
23 {% else %} | |
24 <h3 class="entry-title"> | |
25 <a href="{{ post.url | relative_url }}">{{ post.title }}</a> | |
26 </h3> | |
27 <p class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</p> | |
28 <div class="entry-content"> | |
29 {{ post.excerpt }} | |
30 </div> | |
31 {% endif %} | |
32 </div> | |
33 {% endfor %} | |
34 </div> | |
23 </div> | 35 </div> |
24 {% endif %} | 36 </section> |
25 {% endfor %} | |
26 | |
27 [Feed]: {{ "feed.xml" | relative_url }} |