comparison community-news.md @ 87:1752b8520622 kai

Keep layout <-> content pattern for community-news.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 17 Oct 2016 18:38:41 +0200
parents 333306af2e72
children
comparison
equal deleted inserted replaced
86:298b7f4ac910 87:1752b8520622
1 --- 1 ---
2 layout: NULL 2 layout: community-news
3 --- 3 ---
4 <!--
5
6 This is the community news page for Octave. It is displayed in the
7 "Community News" display area of the Octave GUI. It should not have
8 the usual page header that other pages on the Octave web site have.
9 The following string must be present for Octave to recognize and
10 display this page as the comunity news page:
11
12 this-is-the-gnu-octave-community-news-page
13 community-news-page-serial=6
14
15 -->
16
17 <html>
18 <head>
19 <title>Octave Community News</title>
20 <style TYPE="text/css">
21 <!--
22 body {
23 }
24 -->
25 </style>
26 </head>
27 <body>
28 4
29 {% for post in site.posts limit:3 %} 5 {% for post in site.posts limit:3 %}
30 <h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2> 6
31 <p> 7 ## [{{ post.title }}]({{ post.url | absolute_url }})
8
32 {{ post.excerpt }} 9 {{ post.excerpt }}
33 </p> 10
34 <p>
35 <small><em>&mdash; The Octave Developers, {{ post.date | date: "%b %-d, %Y" }}</em></small> 11 <small><em>&mdash; The Octave Developers, {{ post.date | date: "%b %-d, %Y" }}</em></small>
36 </p> 12
37 {% endfor %} 13 {% endfor %}
38
39 </body>
40 </html>