Skip to content

Commit 00fa7c2

Browse files
committed
fix(article): 修复移动端文章页面金属标签显示逻辑
- 添加 articleType 判断条件,确保只有非类型6的文章才显示金属标签 - 防止类型6文章错误显示金属标签的问题 - 保持原有金属标签显示功能的正常工作
1 parent ceefb4d commit 00fa7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/skins/mobile/article.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
</a>
157157
</h1>
158158
<div style="margin-bottom: 3px">
159-
<#if article.sysMetal != "[]">
159+
<#if 6 != article.articleType && article.sysMetal != "[]">
160160
<#list article.sysMetal?eval as metal>
161161
<img title="${metal.description}" src="${servePath}/gen?id=${metal.id}"/>
162162
</#list>

0 commit comments

Comments
 (0)