summaryrefslogtreecommitdiff
path: root/design/templates/tutorials/tutorial_list.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-05-05 11:40:42 -0500
committerluxagraf <sng@luxagraf.net>2019-05-05 11:40:42 -0500
commita2891841fbf1e5660693a1f9109f2e6810224a3b (patch)
treebe0aae73fe8f5e6271a76e8c5c6dc35b00f347a6 /design/templates/tutorials/tutorial_list.html
parentbdc06f56d538358f1fa07d35afb5733c790e3ab2 (diff)
added tutorials with commentsHEADmaster
Diffstat (limited to 'design/templates/tutorials/tutorial_list.html')
-rw-r--r--design/templates/tutorials/tutorial_list.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/design/templates/tutorials/tutorial_list.html b/design/templates/tutorials/tutorial_list.html
new file mode 100644
index 0000000..0b17df2
--- /dev/null
+++ b/design/templates/tutorials/tutorial_list.html
@@ -0,0 +1,22 @@
+{% extends 'base.html' %}
+{% load typogrify_tags %}
+{% block pagetitle %}Tutorials and tools for building great things{% endblock %}
+{% block metadescription %}Tutorials and tools for building great things on the web - by Scott Gilbertson.{% endblock %}
+{%block bodyid%}id="essay-archive" class="archive"{%endblock%}
+{% block content %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
+ <li><a href="/" title="libregraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
+ <li><span itemprop="title">Tutorials</span></li>
+ </ul>
+ <main role="main" id="essay-archive" class="essay-archive archive-list">
+ <h1 class="topic-hed">Tutorials</h1>
+ <ul>{% for object in object_list %}
+ <li class="h-entry hentry" itemscope itemType="http://schema.org/Article">
+ <span class="date dt-published hed-tertiary">{{object.pub_date|date:"F Y"}}</span>
+ <a class="u-url" href="{{object.get_absolute_url}}">
+ <h2 class="p-name hed-primary">{{object.title|safe|smartypants|widont}}</h2>
+ <p class="p-summary hed-secondary">{% if object.sub_title %}{{object.sub_title|safe|smartypants}}{%else%}{{object.meta_description}}{%endif%}</p>
+ </a>
+ </li>
+ {%endfor%}</ul>
+ </main>
+{%endblock%}