@ -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>
{%- 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 -%}
{%- endblock %}