diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2018-12-17 20:40:19 +0100 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2018-12-17 21:01:48 +0100 |
| commit | a7816c160e06b2ee7684dcb66e1480cfcde0e90a (patch) | |
| tree | e9774271cb36b8102a3a705661c11ec247ab8fd7 /_includes/git-wiki | |
| parent | 15416ecb2d7b0a38eae59385a600a7e27cd59110 (diff) | |
| download | wiki-a7816c160e06b2ee7684dcb66e1480cfcde0e90a.tar.gz wiki-a7816c160e06b2ee7684dcb66e1480cfcde0e90a.tar.bz2 wiki-a7816c160e06b2ee7684dcb66e1480cfcde0e90a.zip | |
Improved blog feature and other minor fixes
Diffstat (limited to '_includes/git-wiki')
| -rw-r--r-- | _includes/git-wiki/components/lists/post-list.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/_includes/git-wiki/components/lists/post-list.html b/_includes/git-wiki/components/lists/post-list.html index 5e39359..be1aa35 100644 --- a/_includes/git-wiki/components/lists/post-list.html +++ b/_includes/git-wiki/components/lists/post-list.html @@ -2,12 +2,12 @@ {% include {{ site.inc_before_post_list }} %} {% endif %} -<span class="post-list-title">Posts {% if (site.show_wiki_post_limit >= 1 %} (Latest {{site.show_wiki_post_limit }} updated) {% endif %}:</span> +<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_post_limit %} +{% if numPages >= site.show_wiki_posts_limit %} {% break %} {% endif %} @@ -21,6 +21,8 @@ {% 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 %}
\ No newline at end of file |
