fix(links): 修复友链界面不显示用户名问题,#14

This commit is contained in:
nineya 2023-06-06 11:32:34 +08:00
parent aad55036c2
commit 16c61d0a5d

View File

@ -1,9 +1,9 @@
<html lang="zh" xmlns:th="https://www.thymeleaf.org"
th:class="${theme.config.basic_style.theme_style}"
th:fragment="layout (title, canonical, content, isPost)">
<th:block th:if="${!#strings.equals('',param._pjax)}">
<th:block th:replace="~{common/head :: head}"
th:with="contributor = ${contributorFinder.getContributor(theme.config.basic_info.metadata_name)}"/>
<th:block th:if="${!#strings.equals('',param._pjax)}"
th:with="contributor = ${contributorFinder.getContributor(theme.config.basic_info.metadata_name)}">
<th:block th:replace="~{common/head :: head}"/>
<body>
<div class="column-main">
<th:block th:replace="${content}"/>