summaryrefslogtreecommitdiff
path: root/design/templates/links
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-05-03 11:38:24 -0500
committerluxagraf <sng@luxagraf.net>2019-05-03 11:38:24 -0500
commit0e59ad7de18bffcf6a62f9ee61275b4951c27358 (patch)
tree514fca6efb90db53ca3061aa4ab8ba7d2a33cffe /design/templates/links
parent86fcf7ed710f41fc5324b638d092af54f4bb756f (diff)
finished up initial design work
Diffstat (limited to 'design/templates/links')
-rw-r--r--design/templates/links/link_detail.html13
-rw-r--r--design/templates/links/link_list.html15
2 files changed, 28 insertions, 0 deletions
diff --git a/design/templates/links/link_detail.html b/design/templates/links/link_detail.html
new file mode 100644
index 0000000..500dfcb
--- /dev/null
+++ b/design/templates/links/link_detail.html
@@ -0,0 +1,13 @@
+{% extends 'base.html' %}
+{% load typogrify_tags %}
+{%block bodyid%}id="essay-archive" class="archive"{%endblock%}
+
+{% block content %}
+<div class="content-narrow">
+<article class="h-entry hentry" itemscope itemType="http://schema.org/Article">
+ <span class="date dt-published blok">{{object.pub_date|date:"F d, Y"}}</span>
+ <h3 class="hed-primary"><a class="u-url" href="{{object.link_url}}" title="Read the original story">{{object.title|safe|smartypants|widont}}</a></h3>
+ <div class="p-summary">{{object.body_html|safe|smartypants}}</div>
+</article>
+</div>
+{% endblock %}
diff --git a/design/templates/links/link_list.html b/design/templates/links/link_list.html
new file mode 100644
index 0000000..f38771a
--- /dev/null
+++ b/design/templates/links/link_list.html
@@ -0,0 +1,15 @@
+{% extends 'base.html' %}
+{% load typogrify_tags %}
+{%block bodyid%}id="essay-archive" class="archive"{%endblock%}
+
+{% block content %}
+<div class="content-narrow">
+{% for obj in object_list %}
+<article class="h-entry hentry" itemscope itemType="http://schema.org/Article">
+ <span class="date dt-published blok">{{obj.pub_date|date:"F d, Y"}}</span>
+ <h3 class="p-name hed-primary"><a class="u-repost-of" href="{{obj.link_url}}" title="Read the original story">{{obj.title|safe|smartypants|widont}}</a> &nbsp;<a class="star u-url" href="{{obj.get_absolute_url}}">&#9733;</a></h3>
+ <div class="p-summary">{{obj.body_html|safe|smartypants}}</div>
+</article>
+{% endfor %}
+</div>
+{% endblock %}