[gimp-web/gimp-web-static] Start styling news list pages



commit a5d6fc2fd0e1cf960676d7332505137b6a15835f
Author: Pat David <patdavid gmail com>
Date:   Fri Oct 9 13:53:32 2015 -0500

    Start styling news list pages

 themes/newgimp/static/css/home.css  |    1 +
 themes/newgimp/templates/index.html |   13 +++++++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/themes/newgimp/static/css/home.css b/themes/newgimp/static/css/home.css
index 28b83e6..75d3e50 100644
--- a/themes/newgimp/static/css/home.css
+++ b/themes/newgimp/static/css/home.css
@@ -341,4 +341,5 @@ h2#recent-news {
 
 .news-more {
     float: right;
+    font-size: 0.85rem;
 }
diff --git a/themes/newgimp/templates/index.html b/themes/newgimp/templates/index.html
index 26c1e12..c098e64 100644
--- a/themes/newgimp/templates/index.html
+++ b/themes/newgimp/templates/index.html
@@ -115,6 +115,7 @@
         <div class="container">
             {% for article in articles_page.object_list %}
                 <div class='row clearfix'>
+
                     <div class="column full">
                         <h3 class="entry-title">
                             <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ 
article.title|striptags }}">
@@ -124,15 +125,23 @@
 
                         <div class='post-info'>
                             <abbr class="published" title="{{ article.date.isoformat() }}"> {{ 
article.locale_date }} </abbr>
-                            <address class="vcard author">by
+
+                            {#
+                            <address class="vcard author">By
                                 {% for author in article.authors %}
                                     <a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
                                 {% endfor %}
                             </address>
+                            #}
+
+                        </div>
+
+                        <div class='entry-content'> 
+                            {{ article.summary }} 
                         </div>
 
-                        <div class='entry-content'> {{ article.summary }} </div>
                     </div>
+
                 </div>
                 <hr/>
             {% endfor %}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]