From c66703ed19b42afc4d66683294b4443dc59380f0 Mon Sep 17 00:00:00 2001 From: Brit Butler Date: Tue, 15 Apr 2014 19:33:25 -0400 Subject: [PATCH] Template linking fix. --- themes/atom.tmpl | 2 +- themes/hyde/index.tmpl | 10 +++++----- themes/hyde/post.tmpl | 6 +++--- themes/readable/index.tmpl | 6 +++--- themes/readable/post.tmpl | 4 ++-- themes/rss.tmpl | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/themes/atom.tmpl b/themes/atom.tmpl index a56cad1..f8d54a0 100644 --- a/themes/atom.tmpl +++ b/themes/atom.tmpl @@ -14,7 +14,7 @@ {foreach $post in $content.posts} - + {$post.title} {$post.date} {$post.date} diff --git a/themes/hyde/index.tmpl b/themes/hyde/index.tmpl index 4723346..e3ec8b6 100644 --- a/themes/hyde/index.tmpl +++ b/themes/hyde/index.tmpl @@ -4,20 +4,20 @@

{$index.title}

{foreach $post in $index.posts} {/foreach}
- {if $prev} Previous {/if} - {if $next} Next {/if} + {if $prev} Previous {/if} + {if $next} Next {/if}
{if $tags}

This blog covers {foreach $tag in $tags} - {$tag.name}{nil} + {$tag.name}{nil} {if not isLast($tag)},{sp}{/if} {/foreach}

@@ -26,7 +26,7 @@

View posts from {foreach $month in $months} - {$month}{nil} + {$month}{nil} {if not isLast($month)},{sp}{/if} {/foreach}

diff --git a/themes/hyde/post.tmpl b/themes/hyde/post.tmpl index f9a6ab6..6406035 100644 --- a/themes/hyde/post.tmpl +++ b/themes/hyde/post.tmpl @@ -5,7 +5,7 @@

{$post.title}

{\n}
{\n} Tagged as {foreach $tag in $post.tags} - {$tag.name}{nil} + {$tag.name}{nil} {if not isLast($tag)},{sp}{/if} {/foreach}
{\n} @@ -17,7 +17,7 @@ {$post.text |noAutoescape} {\n}
{\n} - {if $prev} Previous
{/if}{\n} - {if $next} Next
{/if}{\n} + {if $prev} Previous
{/if}{\n} + {if $next} Next
{/if}{\n}
{\n} {/template} diff --git a/themes/readable/index.tmpl b/themes/readable/index.tmpl index 1a1fa13..32ff1bf 100644 --- a/themes/readable/index.tmpl +++ b/themes/readable/index.tmpl @@ -4,7 +4,7 @@

{$index.title}

{foreach $post in $index.posts}
-

{$post.title}

+

{$post.title}

posted on {$post.date}

{$post.text |noAutoescape}
@@ -13,7 +13,7 @@

This blog covers {foreach $tag in $tags} - {$tag.name}{nil} + {$tag.name}{nil} {if not isLast($tag)},{sp}{/if} {/foreach}

@@ -23,7 +23,7 @@

View posts from {foreach $month in $months} - {$month}{nil} + {$month}{nil} {if not isLast($month)},{sp}{/if} {/foreach}

diff --git a/themes/readable/post.tmpl b/themes/readable/post.tmpl index 84be73a..a5be92f 100644 --- a/themes/readable/post.tmpl +++ b/themes/readable/post.tmpl @@ -14,8 +14,8 @@ {$post.text |noAutoescape}
{\n} {/template} diff --git a/themes/rss.tmpl b/themes/rss.tmpl index c22260b..72489bb 100644 --- a/themes/rss.tmpl +++ b/themes/rss.tmpl @@ -13,10 +13,10 @@ {foreach $post in $content.posts} {$post.title} - {$config.domain}/posts/{$post.slug}{$config.pageExt} + {$config.domain}/posts/{$post.slug}.{$config.pageExt} {$post.date} {$config.author} - {$config.domain}/posts/{$post.slug}{$config.pageExt} + {$config.domain}/posts/{$post.slug}.{$config.pageExt} {foreach $tag in $post.tags} {/foreach}