summaryrefslogtreecommitdiff
path: root/_includes/git-wiki/components/lists
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2020-05-13 21:14:56 +0200
committerYehonal <yehonal.azeroth@gmail.com>2020-05-13 21:14:56 +0200
commit2df1263a2a994315a0c752feb27640dcc45234c2 (patch)
tree563aee674f2ce310f51fe23d4588d3be1614c654 /_includes/git-wiki/components/lists
parent7048c66f61258b0110158bc8868a8e198f1a2a7c (diff)
downloadwiki-2df1263a2a994315a0c752feb27640dcc45234c2.tar.gz
wiki-2df1263a2a994315a0c752feb27640dcc45234c2.tar.bz2
wiki-2df1263a2a994315a0c752feb27640dcc45234c2.zip
using remote theme
Diffstat (limited to '_includes/git-wiki/components/lists')
-rw-r--r--_includes/git-wiki/components/lists/page-list.html29
-rw-r--r--_includes/git-wiki/components/lists/post-list.html31
2 files changed, 0 insertions, 60 deletions
diff --git a/_includes/git-wiki/components/lists/page-list.html b/_includes/git-wiki/components/lists/page-list.html
deleted file mode 100644
index 8129bf0..0000000
--- a/_includes/git-wiki/components/lists/page-list.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<div class="git-wiki-page-list">
- {% if site.inc_before_page_list %}
- {% include {{ site.inc_before_page_list }} %}
- {% endif %}
-
- <span class="page-list-title">Pages {% if (site.show_wiki_pages_limit >= 1 %} (Latest {{site.show_wiki_pages_limit
- }} updated) {% endif %}:</span>
- <ul class="page-list">
- {% assign numPages=0 %}
- {% assign items = site.html_pages | sort: 'date' %}
- {% for page in items %}
- {% if numPages >= site.show_wiki_pages_limit %}
- {% break %}
- {% endif %}
- {% if page.is_wiki_page != false and page.sitemap != false %}
- <li class="page-list-item">
- {% assign title = page.title | default: page.name %}
- <a href="{{ page.url | relative_url }}">{{title | escape}}</a>
- </li>
- {% assign numPages = numPages | plus: 1 %}
- {% endif %}
-
- {% endfor %}
- </ul>
-
- {% if site.inc_after_page_list %}
- {% include {{ site.inc_after_page_list }} %}
- {% endif %}
-</div> \ No newline at end of file
diff --git a/_includes/git-wiki/components/lists/post-list.html b/_includes/git-wiki/components/lists/post-list.html
deleted file mode 100644
index 579dab5..0000000
--- a/_includes/git-wiki/components/lists/post-list.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<div class="git-wiki-page-list">
- {% if site.inc_before_post_list %}
- {% include {{ site.inc_before_post_list }} %}
- {% endif %}
-
- <span class="post-list-title">Posts {% if (site.show_wiki_posts_limit >= 1 %} (Latest {{site.show_wiki_posts_limit
- }} updated) {% endif %}:</span>
- <ul class="post-list">
- {% assign numPages=0 %}
- {% assign items = site.posts | sort: 'date' %}
- {% for post in items %}
- {% if numPages >= site.show_wiki_posts_limit %}
- {% break %}
- {% endif %}
-
- {% if post.layout != "null" and post.sitemap != false and post.title %}
- <li class="post-list-item">
- <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
- </li>
- {% assign numPages = numPages | plus: 1 %}
- {% endif %}
-
- {% endfor %}
- </ul>
-
- <span class="post-list read-all"><a href="{{ '/blog/' | relative_url}}">Read all</a></span>
-
- {% if site.inc_after_post_list %}
- {% include {{ site.inc_after_post_list }} %}
- {% endif %}
-</div> \ No newline at end of file