diff --git a/sample_data/home/error.ejs b/sample_data/home/error.ejs index c2471f6..e4b1427 100644 --- a/sample_data/home/error.ejs +++ b/sample_data/home/error.ejs @@ -6,7 +6,7 @@
-

Error <%= error %> at path <%= path %>

+

Error <%= error %> at path <%= path %>

\ No newline at end of file diff --git a/sample_data/home/index.ejs b/sample_data/home/index.ejs index 25c46d0..680f203 100644 --- a/sample_data/home/index.ejs +++ b/sample_data/home/index.ejs @@ -12,10 +12,13 @@

Articles in this blog :

<% articles.forEach((article) => { %>
-

<%- `${article.title}`%> (<%= `${article.day}/${article.month}/${article.year}`%>)

- <% if(article.thumbnail){%> - <%- `thumbnail`%> - <% }%> +

<%- `${article.title}` %> ( + <%= `${article.day}/${article.month}/${article.year}` %> + ) +

+ <% if(article.thumbnail){ %> + <%- `thumbnail` %> + <% } %>
<% }); %> diff --git a/sample_data/home/style.css b/sample_data/home/style.css index 979ab2a..6d915f0 100644 --- a/sample_data/home/style.css +++ b/sample_data/home/style.css @@ -4,15 +4,15 @@ main { margin: auto; } -.article a, .article a:visited{ - color:black; +.article a, .article a:visited { + color: black; } -.article a:visited{ - color:black; +.article a:visited { + color: black; } -.article img{ - max-width:100%; - max-height:10vh; +.article img { + max-width: 100%; + max-height: 10vh; } \ No newline at end of file