Browse Source

docs: delete unused layouts.

XhmikosR 4 years ago
parent
commit
e023103dcf
2 changed files with 0 additions and 54 deletions
  1. 0 41
      docs/_layouts/home.html
  2. 0 13
      docs/_layouts/post.html

+ 0 - 41
docs/_layouts/home.html

@@ -1,41 +0,0 @@
----
-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>

+ 0 - 13
docs/_layouts/post.html

@@ -1,13 +0,0 @@
----
-layout: default
----
-
-<div class="content-wrapper px-4 py-2">
-  <div class="content-header">
-    <h1 class="text-dark">{{page.title}}</h1>
-    </div>
-
-    <div class="content px-2">
-    {{content}}
-    </div>
-</div>