提交 97f8d046 编写于 作者: A afc163

update theme

上级 08900df2
......@@ -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 %}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册