- jekyllrb preset for gh-pages with AdminLTE 3 layout - rebuild menu structure like AdminLTE v2.4 docs - modified npm/Plugins.js to update docs assets with every production run
41 lines
888 B
HTML
Executable file
41 lines
888 B
HTML
Executable file
---
|
|
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>
|