chrysalide

Minimalist and text-based browsers friendly theme for Motyl
Log | Files | Refs | README | LICENSE

commit 0948280823cde7f941f21370ac732c448acf58e2
parent 4cf5febb3e56a316dd2c0037c8b93ac928a08413
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu,  3 Mar 2016 23:33:51 +0100

Do not escape URLs in templates

Diffstat:
Mtemplates/archives.mustache | 4++--
Mtemplates/post.mustache | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/templates/archives.mustache b/templates/archives.mustache @@ -1,9 +1,9 @@ {{> header}} {{#site.posts}} -<h3><a href="/{{url}}">{{title}}</a></h3> +<h3><a href="/{{{url}}}">{{title}}</a></h3> {{date}} {{#categoryDisplay}} - &middot; <a href="/categories/{{url}}">{{category}}</a> + &middot; <a href="/categories/{{{url}}}">{{category}}</a> {{/categoryDisplay}} {{/site.posts}} {{> footer}} diff --git a/templates/post.mustache b/templates/post.mustache @@ -2,7 +2,7 @@ <h1>{{page.title}}</h1> {{page.date}} {{#page.categoryDisplay}} - &middot; <a href="/categories/{{url}}">{{category}}</a> + &middot; <a href="/categories/{{{url}}}">{{category}}</a> {{/page.categoryDisplay}} {{{page.content}}} {{> footer}} \ No newline at end of file