mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-23 14:40:49 +08:00
feat: 文章title 修改
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico?v=20250712">
|
||||
<title>
|
||||
<%= htmlWebpackPlugin.options.title %>
|
||||
OpenIsle - 全面开源的自由技术社区
|
||||
</title>
|
||||
<meta name="description"
|
||||
content="OpenIsle 是一个开放的技术与交流社区,致力于为开发者、技术爱好者和创作者们提供一个自由、友好、包容的讨论与协作环境。" />
|
||||
|
||||
@@ -153,7 +153,7 @@ export default {
|
||||
const defaultDescription = metaDescriptionEl ? metaDescriptionEl.getAttribute('content') : ''
|
||||
|
||||
watch(title, t => {
|
||||
document.title = `OpenIsle -- ${t}`
|
||||
document.title = `OpenIsle - ${t}`
|
||||
})
|
||||
|
||||
watch(postContent, c => {
|
||||
|
||||
Reference in New Issue
Block a user