diff options
author | luxagraf <sng@luxagraf.net> | 2019-05-03 11:38:24 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-05-03 11:38:24 -0500 |
commit | 0e59ad7de18bffcf6a62f9ee61275b4951c27358 (patch) | |
tree | 514fca6efb90db53ca3061aa4ab8ba7d2a33cffe /design/templates/links | |
parent | 86fcf7ed710f41fc5324b638d092af54f4bb756f (diff) |
finished up initial design work
Diffstat (limited to 'design/templates/links')
-rw-r--r-- | design/templates/links/link_detail.html | 13 | ||||
-rw-r--r-- | design/templates/links/link_list.html | 15 |
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> <a class="star u-url" href="{{obj.get_absolute_url}}">★</a></h3> + <div class="p-summary">{{obj.body_html|safe|smartypants}}</div> +</article> +{% endfor %} +</div> +{% endblock %} |