From 201879427d29490e943b7952258778440c56955a Mon Sep 17 00:00:00 2001 From: ruibaby Date: Thu, 19 Jul 2018 14:37:29 +0800 Subject: [PATCH] =?UTF-8?q?:apple:=20Material=E4=B8=BB=E9=A2=98=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E8=87=AA=E5=AE=9A=E4=B9=89=E7=BC=A9=E7=95=A5=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../material/_partial/Paradox-post-thumbnail.ftl | 5 +++++ .../themes/material/_partial/Paradox-post_entry.ftl | 4 ++++ .../templates/themes/material/_partial/post-header.ftl | 10 +++++----- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/main/resources/templates/themes/material/_partial/Paradox-post-thumbnail.ftl b/src/main/resources/templates/themes/material/_partial/Paradox-post-thumbnail.ftl index e69de29bb..acb33aeeb 100644 --- a/src/main/resources/templates/themes/material/_partial/Paradox-post-thumbnail.ftl +++ b/src/main/resources/templates/themes/material/_partial/Paradox-post-thumbnail.ftl @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/src/main/resources/templates/themes/material/_partial/Paradox-post_entry.ftl b/src/main/resources/templates/themes/material/_partial/Paradox-post_entry.ftl index 6003bd158..75781b61a 100644 --- a/src/main/resources/templates/themes/material/_partial/Paradox-post_entry.ftl +++ b/src/main/resources/templates/themes/material/_partial/Paradox-post_entry.ftl @@ -3,7 +3,11 @@
+ <#if post.postThumbnail?if_exists == "${options.blog_url}/static/images/thumbnail.png">
+ <#else> +
+

${post.postTitle?if_exists}

diff --git a/src/main/resources/templates/themes/material/_partial/post-header.ftl b/src/main/resources/templates/themes/material/_partial/post-header.ftl index 8059bbd73..d43ee2f6a 100644 --- a/src/main/resources/templates/themes/material/_partial/post-header.ftl +++ b/src/main/resources/templates/themes/material/_partial/post-header.ftl @@ -1,12 +1,12 @@ <#if options.theme_material_scheme?if_exists == "Paradox"> + <#if post.postThumbnail?if_exists == "${options.blog_url}/static/images/thumbnail.png">
- + <#include "Paradox-post-thumbnail.ftl"> + <#else> +
+

${post.postTitle}