mirror of https://github.com/ColorlibHQ/AdminLTE
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
888 B
42 lines
888 B
5 years ago
|
---
|
||
|
layout: default
|
||
|
---
|
||
|
|
||
|
<div>
|
||
|
|
||
|
{%- if page.title -%}
|
||
|
<header>
|
||
|
<h1>{{ page.title }}</h1>
|
||
|
</header>
|
||
|
{%- endif -%}
|
||
|
|
||
|
<section>
|
||
|
{{ content }}
|
||
|
</section>
|
||
|
|
||
|
{%- if site.posts.size > 0 -%}
|
||
|
<p class="h4">{{ page.list_title | default: "Posts" }}</p>
|
||
|
<ul class="list-unstyled">
|
||
|
{%- for post in site.posts -%}
|
||
|
<li>
|
||
|
<span class="text-muted">
|
||
|
{%- assign date_format = "%b %-d, %Y" -%}
|
||
|
{{ post.date | date: date_format }}
|
||
|
</span>
|
||
|
<p class="h5">
|
||
|
<a href="{{ post.url | relative_url }}">
|
||
|
{{ post.title | escape }}
|
||
|
</a>
|
||
|
</p>
|
||
|
{%- if site.show_excerpts -%}
|
||
|
{{ post.excerpt }}
|
||
|
{%- endif -%}
|
||
|
</li>
|
||
|
{%- endfor -%}
|
||
|
</ul>
|
||
|
|
||
|
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
|
||
|
{%- endif -%}
|
||
|
|
||
|
</div>
|