|
|
@ -47,9 +47,6 @@ |
|
|
|
</nav> |
|
|
|
<div class="nav-phone-icon"></div> |
|
|
|
</header> |
|
|
|
{%- if post.meta.template === 'component' %} |
|
|
|
{%- include "aside.html" %} |
|
|
|
{%- endif %} |
|
|
|
{%- if post.filename === 'index' %} |
|
|
|
<div class="main"> |
|
|
|
<div class="main-box" id="main"> |
|
|
@ -62,7 +59,12 @@ |
|
|
|
</div> |
|
|
|
<script src="/static/home.js"></script> |
|
|
|
{%- else %} |
|
|
|
<section class="main-container"> |
|
|
|
{%- if post.meta.template === 'component' %} |
|
|
|
{%- include "aside.html" %} |
|
|
|
<section class="main-container"> |
|
|
|
{%- else %} |
|
|
|
<section class="main-container-center"> |
|
|
|
{%- endif %} |
|
|
|
<article class="markdown"> |
|
|
|
<h1>{{ post.title }}</h1> |
|
|
|
{{ post.html }} |
|
|
|