diff --git a/templates/collection-tags.tmpl b/templates/collection-tags.tmpl index 6849fee..7cad3b7 100644 --- a/templates/collection-tags.tmpl +++ b/templates/collection-tags.tmpl @@ -141,7 +141,7 @@ function pinPost(e, postID, slug, title) { var $header = document.getElementsByTagName('header')[0]; var $pinnedNavs = $header.getElementsByTagName('nav'); // Add link to nav - var link = ''+title+''; + var link = ''+title+''; if ($pinnedNavs.length == 0) { $header.insertAdjacentHTML("beforeend", ''); } else { diff --git a/templates/collection.tmpl b/templates/collection.tmpl index 18942a9..6623a2e 100644 --- a/templates/collection.tmpl +++ b/templates/collection.tmpl @@ -176,7 +176,7 @@ function pinPost(e, postID, slug, title) { var $header = document.getElementsByTagName('header')[0]; var $pinnedNavs = $header.getElementsByTagName('nav'); // Add link to nav - var link = ''+title+''; + var link = ''+title+''; if ($pinnedNavs.length == 0) { $header.insertAdjacentHTML("beforeend", ''); } else { diff --git a/templates/user/articles.tmpl b/templates/user/articles.tmpl index 4956301..67d3e0b 100644 --- a/templates/user/articles.tmpl +++ b/templates/user/articles.tmpl @@ -34,8 +34,8 @@ {{if .Summary}}
{{.Summary}}
{{end}} {{end}} {{ else }}You haven't saved any drafts yet.
-They'll show up here once you do. Find your blog posts from the Blogs page.
-They'll show up here once you do. {{if not .SingleUser}}Find your blog posts from the Blogs page.{{end}}
+ {{ end }} diff --git a/templates/user/collection.tmpl b/templates/user/collection.tmpl index 08e8886..8af3bda 100644 --- a/templates/user/collection.tmpl +++ b/templates/user/collection.tmpl @@ -58,6 +58,7 @@A password is required to read this blog.
+ {{if not .SingleUser}}