mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 12:35:05 +02:00
Only display recent news on the main page
This commit is contained in:
parent
d6ab1669d1
commit
d4eb5e9f7a
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@
|
||||||
<div id="main_content_wrap" class="outer">
|
<div id="main_content_wrap" class="outer">
|
||||||
<section id="main_content" class="inner">
|
<section id="main_content" class="inner">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
<h2>Recent News</h2>
|
<h2{% if page.title == "Cyclone Scheme" %}style="display: none;"{% endif %}>
|
||||||
|
Recent News
|
||||||
|
</h2>
|
||||||
{% for post in site.posts limit:3 %}
|
{% for post in site.posts limit:3 %}
|
||||||
<h4>
|
<h4>
|
||||||
<a href="/cyclone/{{ post.url }}">{{ post.title }}</a>
|
<a href="/cyclone/{{ post.url }}">{{ post.title }}</a>
|
||||||
|
|
Loading…
Add table
Reference in a new issue