From 26dbaa3d9420e063236c12a4ce430cce5c834320 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 1 Mar 2020 21:32:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=BF=E5=85=8D=E8=AE=BE=E7=BD=AE=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E4=B8=8D=E5=AD=98=E5=9C=A8=E7=9A=84meta=E6=97=B6?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/_partial/meta.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/_partial/meta.ejs b/layout/_partial/meta.ejs index 8ddd2d6..c347a8d 100644 --- a/layout/_partial/meta.ejs +++ b/layout/_partial/meta.ejs @@ -45,7 +45,7 @@ if (post.meta && (post.meta.footer !== undefined && post.meta.footer !== null)) <% } %>
<% (topMetas).forEach(function(meta){ %> - <% if(meta != 'title'){ %> + <% if((meta != 'title') && (meta in theme.meta)){ %> <%- partial('../_meta/' + meta, {post: post, isPostList: isPostList}) %> <% } %> <% }) %> @@ -59,7 +59,7 @@ if (post.meta && (post.meta.footer !== undefined && post.meta.footer !== null))