diff options
author | luxagraf <sng@luxagraf.net> | 2019-02-24 19:36:29 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-02-24 19:36:29 -0600 |
commit | 8751f40ce6fd5531b58ab95cd347c87c59ffcadc (patch) | |
tree | f8f747b99911f6698ecce98c810543c568645f5b /design/templates/archives | |
parent | 58e384afdf8022fd560d53583cd1d0c5e01f62aa (diff) |
redid src to make essays
Diffstat (limited to 'design/templates/archives')
-rw-r--r-- | design/templates/archives/src_home.html | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/design/templates/archives/src_home.html b/design/templates/archives/src_home.html index 519c186..23a572b 100644 --- a/design/templates/archives/src_home.html +++ b/design/templates/archives/src_home.html @@ -11,14 +11,24 @@ <li>{{topic}}</li>{%else%} <li><code>src</code></li>{%endif%} </ul> - <main role="main" id="src-archive" class="src-archive archive"> - <h1 class="topic-hed"><code>src:</code> {% if topic %}Articles about {{topic.pluralized_name}}{%else%}Archive{%endif%}</h1> - <h3 class="latest">Latest Posts</h3> - {% for object in object_list %}{% if object.slug != 'about' %} - <article class="h-entry hentry {% cycle 'odd' 'even' %} {% cycle 'first' 'second' 'third' %}" itemscope itemType="http://schema.org/Article"> - <h2><a href="{{object.get_absolute_url}}">{{object.title|safe|smartypants|widont}}</a></h2> - <p>{{object.meta_description|safe|smartypants|widont}} <a href="{{object.get_absolute_url}}">Read more.</a></p> - </article>{%endif%} - {%endfor%} + <main role="main" id="essay-archive" class="essay-archive archive-list"> + <div class="essay-intro"> + <h2>Tutorials and how-tos for web developers.</h2> + <p>Topics include Linux, Nginx, Python, Postgresql, free software, HTML, and once, Google AMP.</p> + <p>Some of the articles below were previously published in: <em><a href="https://arstechnica.com/">Ars Technica</a></em>, <em><a href="https://www.wired.com/author/scott-gilbertson/">Wired</a></em>, and <em><a href="https://www.theregister.co.uk/Author/Scott-Gilbertson/">The Register</a></em></p> + </div> + <h1 class="topic-hed">Articles</h1> + <ul>{% for object in object_list %}{% if object.slug != 'about' %} + <li class="h-entry hentry" itemscope itemType="http://schema.org/Article"> + <span class="date dt-published">{{object.pub_date|date:"F Y"}}</span> + <a href="{{object.get_absolute_url}}"> + <h2>{{object.title|safe|smartypants|widont}}</h2> + <p class="p-summary">{{object.meta_description|safe|smartypants|widont}}</p> + </a> + </li> + {%endif%}{%endfor%}</ul> + + + </main> {%endblock%} |