🐛 修复Material主题样式混乱的问题

pull/33/merge
ruibaby 2018-09-14 14:15:06 +08:00
parent 1f5cc1f26b
commit 6a4c3df64a
6 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
<!--Footer-->
<footer class="mdl-mini-footer" id="bottom">
<#if options.theme_material_scheme?if_exists == "Paradox">
<#if options.theme_material_scheme?default('Paradox') == "Paradox">
<!-- Paradox Footer Left Section -->
<#include "footer-left.ftl">

View File

@ -1,5 +1,5 @@
<div id="post-content" class="mdl-color-text--grey-700 mdl-card__supporting-text fade out">
<#if options.theme_material_scheme?if_exists == "Paradox">
<#if options.theme_material_scheme?default('Paradox') == "Paradox">
${post.postContent?if_exists}
<#if options.theme_material_other_post_license??>
<blockquote style="margin: 2em 0 0;padding: 0.5em 1em;border-left: 3px solid #F44336;background-color: #F5F5F5;list-style: none;">
@ -12,7 +12,7 @@
</#if>
</#if>
<#if options.theme_material_scheme?if_exists == "Isolation">
<#if options.theme_material_scheme?default('Paradox') == "Isolation">
<div class="post-content_wrapper">
<p class="post-title">
${post.postTitle?if_exists}

View File

@ -1,4 +1,4 @@
<#if options.theme_material_scheme?if_exists == "Paradox">
<#if options.theme_material_scheme?default('Paradox') == "Paradox">
<!-- Paradox Post Header -->
<!-- Random Thumbnail -->
<#if post.postThumbnail?if_exists == "${options.blog_url}/static/images/thumbnail.png">
@ -12,7 +12,7 @@
</p>
</div>
</#if>
<#if options.theme_material_scheme?if_exists == "Isolation">
<#if options.theme_material_scheme?default('Paradox') == "Isolation">
<div class="post-header_info without-thumbnail">
<!-- Author Avatar & Name -->
<img src="${user.userAvatar?default('/material/source/img/avatar.png')}" class="avatar-img" width="44px" height="44px" alt="${user.userDisplayName?default('halo')}'s avatar">

View File

@ -6,7 +6,7 @@
<!-- Pin on top -->
<!-- Normal Post -->
<#if options.theme_material_scheme?if_exists == "Paradox">
<#if options.theme_material_scheme?default('Paradox') == "Paradox">
<!-- Paradox Thumbnail -->
<#include "_partial/Paradox-post_entry.ftl">
<#else>
@ -15,7 +15,7 @@
</#if>
<#include "_partial/index-nav.ftl">
<@nav url="/archives/"></@nav>
<#if options.theme_material_scheme?if_exists == "Paradox">
<#if options.theme_material_scheme?default('Paradox') == "Paradox">
<#include "_partial/Paradox-post_entry-thumbnail.ftl">
</#if>
</div>

View File

@ -8,7 +8,7 @@
<!-- Post Header(Thumbnail & Title) -->
<#include "_partial/post-header.ftl">
<#if options.theme_material_scheme?if_exists == "Paradox">
<#if options.theme_material_scheme?default('Paradox') == "Paradox">
<!-- Paradox Post Info -->
<#include "_partial/Paradox-post-info.ftl">
</#if>
@ -16,7 +16,7 @@
<!-- Post Content -->
<#include "_partial/post-content.ftl">
<#if options.theme_material_scheme?if_exists == "Isolation">
<#if options.theme_material_scheme?default('Paradox') == "Isolation">
<#include "_partial/Isolation-post-info.ftl">
</#if>

View File

@ -8,7 +8,7 @@
<!-- Post Header(Thumbnail & Title) -->
<#include "_partial/post-header.ftl">
<#if options.theme_material_scheme?if_exists == "Paradox">
<#if options.theme_material_scheme?default('Paradox') == "Paradox">
<!-- Paradox Post Info -->
<#include "_partial/Paradox-post-info.ftl">
</#if>
@ -16,7 +16,7 @@
<!-- Post Content -->
<#include "_partial/post-content.ftl">
<#if options.theme_material_scheme?if_exists == "Isolation">
<#if options.theme_material_scheme?default('Paradox') == "Isolation">
<#include "_partial/Isolation-post-info.ftl">
</#if>