diff --git a/app/templates/article.ejs b/app/templates/article.ejs index 9b9d52e..2061d64 100644 --- a/app/templates/article.ejs +++ b/app/templates/article.ejs @@ -24,9 +24,11 @@

<%- article.title %>

-

- <%- article.subtitle %> -

+ <% if (article.subtitle) { %> +

+ <%- article.subtitle %> +

+ <% } %> diff --git a/app/templates/articles.ejs b/app/templates/articles.ejs index 87d02d5..c38de6f 100644 --- a/app/templates/articles.ejs +++ b/app/templates/articles.ejs @@ -21,18 +21,20 @@
@@ -41,4 +43,4 @@ - \ No newline at end of file +