From 33c134891460fcc379dc5d835299a95c4aad0710 Mon Sep 17 00:00:00 2001 From: Doge Date: Sun, 9 May 2021 16:36:17 +0800 Subject: Finish post detail page --- layout/_partial/footer.ejs | 4 +- layout/index.ejs | 2 +- layout/post.ejs | 97 +++++++++++++++++++++++++++++++--------------- 3 files changed, 68 insertions(+), 35 deletions(-) (limited to 'layout') diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index c17705b..b5fe13e 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -4,9 +4,9 @@ Copyright © <%= date(Date.now(), 'YYYY' ) %> <%= config.title %> \ No newline at end of file diff --git a/layout/index.ejs b/layout/index.ejs index 53335fe..7b91e49 100644 --- a/layout/index.ejs +++ b/layout/index.ejs @@ -59,7 +59,7 @@ <% if (post.tags) { %>
<% (post.tags).forEach(function(item) { %> - <%= item.name %> + # <%= item.name %> <% }); %>
<% } %> diff --git a/layout/post.ejs b/layout/post.ejs index ae30353..6b8ba67 100644 --- a/layout/post.ejs +++ b/layout/post.ejs @@ -1,34 +1,67 @@ -
- -
- - - <% if (page.podcast) { %> -
- - <% } %> - - -
\ No newline at end of file + \ No newline at end of file -- cgit v1.2.3