chrysalide

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

commit 79c2e2cbf54d833629b1d93536e6124b4ec50092
parent 0adede4b3fd40f5c2698b42494f9fcfc90105022
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 24 Jun 2016 13:08:11 +0200

Escaping titles

Diffstat:
Mtemplates/archives.mustache | 2+-
Mtemplates/atom.mustache | 1+
Mtemplates/header.mustache | 2+-
Mtemplates/page.mustache | 2+-
Mtemplates/post.mustache | 2+-
5 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/templates/archives.mustache b/templates/archives.mustache @@ -1,6 +1,6 @@ {{> header}} {{#site.posts}} -<h3><a href="/{{{url}}}">{{title}}</a></h3> +<h3><a href="/{{{url}}}">{{{title}}}</a></h3> <time>{{date}}</time> {{#categoryDisplay}} &middot; <a href="/categories/{{{url}}}">{{category}}</a> diff --git a/templates/atom.mustache b/templates/atom.mustache @@ -2,6 +2,7 @@ <feed xmlns="http://www.w3.org/2005/Atom"> <title><![CDATA[{{page.title}} - {{site.name}}]]></title> <subtitle><![CDATA[{{site.description}}]]></subtitle> + <title><![CDATA[{{{page.title}}} - {{{site.name}}}]]></title> <link href="/atom.xml" rel="self"/> <link href="{{{site.url}}}"/> diff --git a/templates/header.mustache b/templates/header.mustache @@ -2,7 +2,7 @@ <html> <head> <meta charset="utf-8"> - <title>{{page.title}} - {{site.name}}</title> + <title>{{{page.title}}} - {{{site.name}}}</title> <meta name="description" content="{{page.description}}" /> <meta name="keywords" content="{{page.keywords}}" /> diff --git a/templates/page.mustache b/templates/page.mustache @@ -1,4 +1,4 @@ {{> header}} -<h1>{{page.title}}</h1> +<h1>{{{page.title}}}</h1> {{{page.content}}} {{> footer}} \ No newline at end of file diff --git a/templates/post.mustache b/templates/post.mustache @@ -1,5 +1,5 @@ {{> header}} -<h1>{{page.title}}</h1> +<h1>{{{page.title}}}</h1> <time>{{page.date}}</time> {{#page.categoryDisplay}} &middot; <a href="/categories/{{{url}}}">{{category}}</a>