[gimp-web/gimp-web-static] Testing a listing of draft articles on /drafts/



commit c45c94bf3c16c5029bc8037b0beecd267eaa70ae
Author: Pat David <patdavid gmail com>
Date:   Thu Nov 19 09:06:57 2015 -0600

    Testing a listing of draft articles on /drafts/

 themes/newgimp/templates/draft-index.html |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/themes/newgimp/templates/draft-index.html b/themes/newgimp/templates/draft-index.html
index 0b363f9..4a53b59 100644
--- a/themes/newgimp/templates/draft-index.html
+++ b/themes/newgimp/templates/draft-index.html
@@ -57,21 +57,24 @@
                   </div><!-- /.entry-content -->
 
                   <div>
-                      Drafts?<br/>
+                      <h2>Current Drafts</h2>
+                      <ul>
                       {{ drafts }}
                       {% for draft in drafts %}
-                      {{ draft.title }}<br/>
-                      {{ draft.status }}
-                      <hr/>
+                      <li><a href='{{ draft.url }}'>{{ draft.title }}</a></li>
                       {% endfor %}
-                      <br/>
+                      </ul>
                       End of the drafts?
                   </div>
                   <div>
+                      <p>
                       Testing all_articles...<br/>
-                      {% for article in all_articles %}
-                        {{ article.url }}<br/>
-                    {% endfor %}
+                          <ul>
+                          {% for article in all_articles %}
+                          <li><a href="{{ SITEURL }}/{{ article.url }}">{{ article.url }}</a></li>
+                          {% endfor %}
+                          </ul>
+                      </p>
                   </div>
               </div>
           </div>


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