优化标题逻辑

This commit is contained in:
puke
2025-10-27 23:24:36 +08:00
committed by puke
parent f2551b5f9c
commit be5b749913
11 changed files with 191 additions and 276 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{topic}}</title>
<title>{{title}}</title>
<style>
:root {
--bg: #0b0f1a;
@@ -865,7 +865,7 @@
<!-- Header -->
<header class="header" role="banner">
<h1 class="title">{{topic}}</h1>
<h1 class="title">{{title}}</h1>
<div class="title-meta" role="list">
<div class="chip" role="listitem"><span class="dot"></span>读书短视频</div>
<div class="chip" role="listitem"><span class="dot pink"></span>思维提升</div>
@@ -874,7 +874,7 @@
</header>
<!-- Media -->
<section class="media" role="img" aria-label="Illustration for the topic">
<section class="media" role="img" aria-label="Illustration for the video">
<!-- Corner indicators -->
<div class="corner-indicator tl"></div>
<div class="corner-indicator tr"></div>
@@ -893,7 +893,7 @@
<div class="badge-dot pink"></div>
</div>
<img src="{{image}}" alt="图像:{{topic}}">
<img src="{{image}}" alt="图像:{{title}}">
</section>
<!-- Caption -->