diff --git a/package.json b/package.json index a34a98e42d3e70c85055e114e816851b82df272c..a8edf239e4fa66d279b1055d60ad9ca1281766c5 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "scripts": { "build": "npm run clean && nico build", - "start": "nico server", + "start": "npm run clean && nico server", "clean": "rm -rf _site" } } diff --git a/theme/templates/layout.html b/theme/templates/layout.html index ed5a8cb78c0c6decf0629b9c443f741c4763c096..0ac192ca8c4a8f8c0d64a58726b1d0af2bbb4b26 100644 --- a/theme/templates/layout.html +++ b/theme/templates/layout.html @@ -38,8 +38,6 @@ - - {%- block main %} {%- if post.filename === 'index' %}
@@ -50,8 +48,12 @@
+ {%- else %} +
+

{{ post.title }}

+ {{ post.html }} +
{%- endif %} - {% endblock -%}