优化标题逻辑
This commit is contained in:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user