From 9732e9cb346e470d59ca8fca77d3cdf6b5050f1d Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Thu, 13 Dec 2018 23:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E5=86=85=E9=9F=B3=E4=B9=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/_partial/article.ejs | 14 ++++++++++++-- source/less/_main.less | 21 ++++++++++++++++----- 2 files changed, 28 insertions(+), 7 deletions(-) diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index 4efcab7..c678f0e 100755 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -1,5 +1,14 @@
+ <% if(post.music){ %> +
+
+ <% } %> +
<% if(post.title){ %>

<%= post.title %>

<% } else if (post.date) { %> @@ -22,6 +31,7 @@ <% } %> <%- partial('categories',{post:post}) %> +
@@ -30,7 +40,7 @@ <%- post.content %> -
+