Skip to content

Commit 17272fb

Browse files
authored
Update intro-header.html
1 parent 46cab71 commit 17272fb

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

_includes/intro-header.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,10 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
100100
<div class="container">
101101
<div class="row">
102102
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
103-
{% if include.short %}
104-
<div class="site-heading" id="tag-heading">
105-
{% else %}
106-
<div class="site-heading">
107-
{% endif %}
108-
<h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
109-
<span class="subheading">{{ page.description }}</span>
103+
<!-- 修改 100-110 行附近的 .site-heading 容器 -->
104+
<div class="site-heading{% if include.short %}" id="tag-heading{% endif %}">
105+
<h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
106+
<span class="subheading" style="display: block; text-align: center;">{{ page.description }}</span>
110107
</div>
111108
</div>
112109
</div>

0 commit comments

Comments
 (0)