Streamline title variables

This commit is contained in:
Leilukin 2025-05-06 17:28:23 +08:00
parent 527fed03ef
commit c1f9c7fa93

View File

@ -36,8 +36,8 @@
{{ /if }}
<title>
{{- title ? title + " | " : "" -}}
{{- sectionName ? sectionName + " | " : "" -}}
{{- title ? `${title} | ` : '' -}}
{{- sectionName ? `${sectionName} | ` : '' -}}
{{- sitemeta.siteName -}}
</title>
</head>