mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
update theme
This commit is contained in:
parent
08900df2fb
commit
97f8d04623
@ -15,7 +15,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run clean && nico build",
|
||||
"start": "nico server",
|
||||
"start": "npm run clean && nico server",
|
||||
"clean": "rm -rf _site"
|
||||
}
|
||||
}
|
||||
|
@ -38,8 +38,6 @@
|
||||
</nav>
|
||||
<div class="nav-phone-icon"></div>
|
||||
</header>
|
||||
|
||||
{%- block main %}
|
||||
{%- if post.filename === 'index' %}
|
||||
<div class="main">
|
||||
<div class="main-box" id="main">
|
||||
@ -50,8 +48,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{%- else %}
|
||||
<article class="markdown">
|
||||
<h1>{{ post.title }}</h1>
|
||||
{{ post.html }}
|
||||
</article>
|
||||
{%- endif %}
|
||||
{% endblock -%}
|
||||
|
||||
<footer id="footer">
|
||||
<ul>
|
||||
|
@ -2,9 +2,3 @@
|
||||
|
||||
{% block title %}{{post.title}} - {{config.site.name}}{% endblock %}
|
||||
{% block description %}{% if post.summay %}{{post.summary}}{% endif %}{% endblock %}
|
||||
{% block main -%}
|
||||
<article class="markdown">
|
||||
<h1>{{ post.title }}</h1>
|
||||
{{ post.html }}
|
||||
</article>
|
||||
{%- endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user