[PATCH 02/10] remove news from website, will be driven from blogroll

Mo Morsi mmorsi at redhat.com
Mon Nov 5 20:23:09 UTC 2012


---
 index.html | 55 -------------------------------------------------------
 news.html  | 38 --------------------------------------
 2 files changed, 93 deletions(-)
 delete mode 100644 news.html

diff --git a/index.html b/index.html
index 2c55dab..94689a5 100644
--- a/index.html
+++ b/index.html
@@ -71,56 +71,6 @@ layout: main
           </ul>
         </div>
       </div>
-      <div class='grid_8 news'>
-        <h1>
-          <a href='news.html' style='color: #007EB5'>Recent News</a>
-        </h1>
-        {% for post in site.posts limit: 5 %}
-        <p>
-          <a href="news.html#{{post.date| date:'%s'}}" title="News item: {{post.title}}">
-            <strong>{{ post.date | date: '%d %B %Y' }} : {{post.title}} </strong>
-          </a>
-        </p>
-        <p style='margin-bottom: 2em'>
-          {{post.summary}}
-        </p>
-        {% endfor %}
-        {% comment %}
-        <p>
-          <a href='news.html#2012062701' title='News item: Aeolus 0.10.0 released!'>
-            <strong>27th June 2012 - Aeolus 0.10.0 released!</strong>
-          </a>
-        </p>
-        <p style='margin-bottom: 2em'>
-          Newest stable release of Aeolus is out, with (64-bit) packages for
-          Fedora 16 available.
-        </p>
-        <p>
-          <a href='news.html#2012031001' title='News item: Image Warehouse 1.5 stable release!'>
-            <strong>10th March 2012 - Image Warehouse 1.5 stable release</strong>
-          </a>
-        </p>
-        <p style='margin-bottom: 2em'>
-          Image Warehouse 1.5, a stable release, is available.
-        </p>
-        <p>
-          <a href='news.html#2012030501' title='News item: Image Warehouse 1.4 stable release!'>
-            <strong>5th March 2012 - Image Warehouse 1.4 stable release</strong>
-          </a>
-        </p>
-        <p style='margin-bottom: 2em'>
-          Image Warehouse 1.4, a stable release, is available.
-        </p>
-        <p>
-          <a href='news.html#2012030201' title='News item: Image Warehouse 1.3 stable release!'>
-            <strong>2nd March 2012 - Image Warehouse 1.3 stable release</strong>
-          </a>
-        </p>
-        <p style='margin-bottom: 2em'>
-          Image Warehouse 1.3, a stable release, is available.
-        </p>
-        {% endcomment %}
-      </div>
       <div class='grid_8'>
         <br />
         <script src='http://widgets.twimg.com/j/2/widget.js'></script>
@@ -135,11 +85,6 @@ layout: main
             More
           </a>
         </div>
-        <div class='grid_8'>
-          <a class='button small' href='news.html'>
-            More
-          </a>
-        </div>
         <div class='grid_8 omega'>
           <a class='button small' href='http://twitter.com/aeolusproject'>
             More
diff --git a/news.html b/news.html
deleted file mode 100644
index 1a8f411..0000000
--- a/news.html
+++ /dev/null
@@ -1,38 +0,0 @@
----
-title: News!
-layout: news
----
-<h1>News</h1>
-
-  <div class='grid_24'>
-{% for post in site.posts %}
-  {% comment %} ### Generate monthly heading for first post in a month ### {% endcomment %}
-  {% capture cmonth %}{{ post.date | date: "%B" }}{% endcapture %}
-  {% unless lmonth == cmonth %}
-    <h2 id="{{ post.date | date: '%Y%m' }}" style="color: black"> {{ post.date | date: '%B %Y' }}</h2>
-    {% assign lmonth = cmonth %}
-  {% endunless %}
-
-    <div class='section-grouping'>
-
-  {% comment %} ### Count the number of posts for the day ### {% endcomment %}
-    {% capture thisdate %}{{ post.date | date: "%Y%m%d" }}{% endcapture %}
-    {% if thisdate != lastdate %}
-      {% assign postindex = '1' %}
-	  {% assign lastdate = thisdate %}
-	{% else %}
-	  {% capture postindex %}{{ postindex | plus: '1' }}{% endcapture %}
-    {% endif %}
-
-    {% comment %} ### Output the post title with a unique date based id ### {% endcomment %}
-      <h2 id='{{ thisdate }}0{{postindex}}'>
-        {{ post.date | date: '%A, %d %B %Y' }} : {{post.title}}
-      </h2>
-
-      {{ post.content }}
-
-    </div>
-  <br/>
-{% endfor %}
-  </div>
-<!-- End of iterator -->
-- 
1.7.11.4




More information about the aeolus-devel mailing list