1
0
mirror of https://github.com/bitwarden/help synced 2025-12-15 15:53:53 +00:00

hosting category and refactored category usage

This commit is contained in:
Kyle Spearrin
2017-08-24 13:21:41 -04:00
parent 79e00d31c4
commit 8e5091bde2
46 changed files with 79 additions and 48 deletions

View File

@@ -12,7 +12,8 @@ layout: default
<div class="col-md-8 articles">
<ol>
{% for article in sorted_articles %}
{% if article.categories contains page.title and article.hidden != true %}
{% assign pageFilename = page.path | filename %}
{% if article.categories contains pageFilename and article.hidden != true %}
<li><a href="{{article.url}}">{{article.title}}</a></li>
{% endif %}
{% endfor %}