diff --git a/themes/heo/index.js b/themes/heo/index.js
index 241c66ec..91e8be07 100644
--- a/themes/heo/index.js
+++ b/themes/heo/index.js
@@ -57,6 +57,10 @@ const LayoutBase = props => {
meta
} = props
+ // 全屏模式下的最大宽度
+ const { fullWidth } = useGlobal()
+ const maxWidth = fullWidth ? 'max-w-[86rem]' : 'max-w-[86rem]' // 最大宽度都是86rem,和顶部菜单栏对齐,设置成空则与网页对齐
+
return (
{!currentSearch
? (
-
+
)
: (
-
- {siteConfig('POST_LIST_STYLE') === 'page'
- ? (
-
- )
- : (
-
- )}
-
+
+ {siteConfig('POST_LIST_STYLE') === 'page'
+ ? (
+
+ )
+ : (
+
+ )}
+
)}
@@ -311,8 +315,8 @@ const LayoutSlug = props => {
)
const commentEnable = siteConfig('COMMENT_TWIKOO_ENV_ID') || siteConfig('COMMENT_WALINE_SERVER_URL') || siteConfig('COMMENT_VALINE_APP_ID') ||
- siteConfig('COMMENT_GISCUS_REPO') || siteConfig('COMMENT_CUSDIS_APP_ID') || siteConfig('COMMENT_UTTERRANCES_REPO') ||
- siteConfig('COMMENT_GITALK_CLIENT_ID') || siteConfig('COMMENT_WEBMENTION_ENABLE')
+ siteConfig('COMMENT_GISCUS_REPO') || siteConfig('COMMENT_CUSDIS_APP_ID') || siteConfig('COMMENT_UTTERRANCES_REPO') ||
+ siteConfig('COMMENT_GITALK_CLIENT_ID') || siteConfig('COMMENT_WEBMENTION_ENABLE')
return (