annotate news.md @ 210:d402a202c57e

* _layouts/default.html: add "lang" attribute.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Fri, 10 Jul 2020 00:40:57 +0900
parents 585fc24ed727
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
94
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
1 ---
96
e7efa40deb17 Fix URLs, Images, Titles to be up with Alex original style.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 94
diff changeset
2 layout: page
94
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
3 title: News
96
e7efa40deb17 Fix URLs, Images, Titles to be up with Alex original style.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 94
diff changeset
4 menu: true
94
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
5 ---
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
6
205
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
7 {% for post in site.posts %}
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
8 <div class="primary callout">
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
9 {% if post == site.posts.first %}
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
10 <a class="float-right button tiny warning" href="{{ "/feed.xml" | relative_url }}">
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
11 RSS
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
12 </a>
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
13 {% endif %}
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
14 {% if post.title == "News Archive" %}
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
15 <h3 class="entry-title">
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
16 <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
17 </h3>
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
18 {% else %}
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
19 <h3 class="entry-title">
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
20 <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
21 </h3>
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
22 <p class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</p>
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
23 <div class="entry-content">
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
24 {{ post.excerpt }}
94
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
25 </div>
205
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
26 {% endif %}
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
27 </div>
585fc24ed727 Adapt news system to foundation 6.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 104
diff changeset
28 {% endfor %}