chrysalide

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

commit 69734947b96e7ba59b27cfa7e183fdf41d721c6c
parent 79c2e2cbf54d833629b1d93536e6124b4ec50092
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 27 Jun 2016 10:39:10 +0200

Unescaping more variables in templates

Diffstat:
Mtemplates/atom.mustache | 11+++++------
Mtemplates/header.mustache | 8++++----
2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/templates/atom.mustache b/templates/atom.mustache @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<feed xmlns="http://www.w3.org/2005/Atom"> - <title><![CDATA[{{page.title}} - {{site.name}}]]></title> - <subtitle><![CDATA[{{site.description}}]]></subtitle> +<feed xmlns="http://www.w3.org/2005/Atom"> <title><![CDATA[{{{page.title}}} - {{{site.name}}}]]></title> + <subtitle><![CDATA[{{{site.description}}}]]></subtitle> <link href="/atom.xml" rel="self"/> <link href="{{{site.url}}}"/> @@ -11,14 +10,14 @@ <id>{{{site.url}}}</id> <author> - <name><![CDATA[{{site.author}}]]></name> + <name><![CDATA[{{site.author}}]]></name> </author> <generator uri="http://www.cambus.net/motyl/">Motyl</generator> {{#site.feed}} <entry> - <title><![CDATA[{{title}}]]></title> + <title><![CDATA[{{{title}}}]]></title> <link href="{{{site.url}}}{{{url}}}"/> <id>{{{url}}}</id> <published>{{datetime}}</published> @@ -29,7 +28,7 @@ </summary> {{#categoryDisplay}} - <category term="{{category}}" scheme="{{{site.url}}}/categories/{{{url}}}"/> + <category term="{{category}}" scheme="{{{site.url}}}/categories/{{{url}}}"/> {{/categoryDisplay}} </entry> {{/site.feed}} diff --git a/templates/header.mustache b/templates/header.mustache @@ -4,9 +4,9 @@ <meta charset="utf-8"> <title>{{{page.title}}} - {{{site.name}}}</title> - <meta name="description" content="{{page.description}}" /> - <meta name="keywords" content="{{page.keywords}}" /> - <meta name="author" content="{{site.author}}" /> + <meta name="description" content="{{{page.description}}}" /> + <meta name="keywords" content="{{{page.keywords}}}" /> + <meta name="author" content="{{{site.author}}}" /> <meta name="robots" content="index, follow, archive" /> <link rel="canonical" href="{{{site.url}}}{{{page.url}}}" /> @@ -19,7 +19,7 @@ <body> <header> - <h2><a href="/">{{site.author}}</a></h2> + <h2><a href="/">{{{site.author}}}</a></h2> {{#site.pages}} <a href="{{{url}}}">{{{title}}}</a> {{/site.pages}}