diff options
author | luxagraf <sng@luxagraf.net> | 2019-05-03 13:46:03 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-05-03 13:46:03 -0500 |
commit | f43ca9d7aee9b880ab8fac8e1eb6c00192505048 (patch) | |
tree | b5c61046e0f4b958049e6bfb93aa3eae0fe83167 | |
parent | 99e60b7587a33cc9dea44d7408aff7dd6cc4009d (diff) |
added some microformats to links
-rw-r--r-- | TODO | 9 | ||||
-rw-r--r-- | design/templates/blog/entry_detail.html | 2 | ||||
-rw-r--r-- | design/templates/links/link_detail.html | 4 |
3 files changed, 13 insertions, 2 deletions
@@ -0,0 +1,9 @@ +* Libregraf: fix link feed so RSS reader opens source not my link +* Libregraf: figure out archive structure for links (paginated? by date links to pages?) +* Libregraf: add robots.txt +* Libregraf: fix sitemap bug +* Libregraf: add analytics +* Libregraf: set up email address comments@libregraf.net +* Libregraf: migrate SRC to libregraf? + +DONE diff --git a/design/templates/blog/entry_detail.html b/design/templates/blog/entry_detail.html index ad4eda8..fcbe936 100644 --- a/design/templates/blog/entry_detail.html +++ b/design/templates/blog/entry_detail.html @@ -9,7 +9,7 @@ <h1 class="p-name hed-primary" itemprop="headline">{{object.title|smartypants|safe}}</h1> {% if object.sub_title %}<h2 class="p-summary hed-secondary">{{object.sub_title|smartypants|safe}}</h2>{%endif%} <div class="post-linewrapper"> - <h5 class="hed-tertiary">Filed Under: {% for tag in object.tags.all %}<a href="/essays/tags/{{tag.slug}}" title="View all essays about {{tag}}">{{tag}}</a>{%if forloop.last%}{%else%}, {%endif%}{% endfor %}</h5> + <h5 class="hed-tertiary">Filed Under: {% for tag in object.tags.all %}<a rel="tag" class="p-category" href="/essays/tags/{{tag.slug}}" title="View all essays about {{tag}}">{{tag}}</a>{%if forloop.last%}{%else%}, {%endif%}{% endfor %}</h5> <time class="dt-published published dt-updated hed-tertiary" datetime="{{object.pub_date|date:'c'}}" itemprop="datePublished">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time> <span class="hide" itemprop="author" itemscope itemtype="http://schema.org/Person">by <a class="p-author h-card" href="/about"><span itemprop="name">Scott Gilbertson</span></a></span> </div> diff --git a/design/templates/links/link_detail.html b/design/templates/links/link_detail.html index 500dfcb..1aa410f 100644 --- a/design/templates/links/link_detail.html +++ b/design/templates/links/link_detail.html @@ -5,9 +5,11 @@ {% block content %} <div class="content-narrow"> <article class="h-entry hentry" itemscope itemType="http://schema.org/Article"> + <div class="e-content"> <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> + <h3 class="p-name hed-primary"><a class="u-bookmark-of" 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> + </div> </article> </div> {% endblock %} |