From bea2e11108802859b7728f7da09c67e46691fa96 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Wed, 13 Sep 2017 09:40:36 -0700 Subject: [PATCH] Blog: add permalink on partial entries. I noticed there is no link on the blog pages (other than on the front page) to get the link to the blog post itself. This adds a permalink at the end near the tags. I considered making the title itself a link, which is what's done on the frontpage, but I figured this might look nicer. Feel free to change this if you're looking this commit message and feel I didn't DTRT here. :) --- www/conservancy/templates/blog/entry_partial.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/conservancy/templates/blog/entry_partial.html b/www/conservancy/templates/blog/entry_partial.html index d6932799..37a733dd 100644 --- a/www/conservancy/templates/blog/entry_partial.html +++ b/www/conservancy/templates/blog/entry_partial.html @@ -36,6 +36,9 @@ This partial accepts these optional parameters: {% if show|default:"body" != "body" %}

Read More…

{% endif %} +{% if show != "summary"} + +{% endif %} {% if show != "summary" and entry.tags.exists %}

Tags: