From bea2e11108802859b7728f7da09c67e46691fa96 2017-09-13 16:42:08 From: Bradley M. Kuhn Date: 2017-09-13 16:42:08 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. :) --- diff --git a/www/conservancy/templates/blog/entry_partial.html b/www/conservancy/templates/blog/entry_partial.html index d6932799dff569b71e6b64eb3ecc43e186f0a810..37a733dd36261a78120b732ee244ea6541e41b19 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: