Fix categories. Oops
This commit is contained in:
parent
0188226c6e
commit
58865dcdf0
|
@ -0,0 +1,23 @@
|
|||
enabled: true
|
||||
names:
|
||||
- Ansible
|
||||
- Apps
|
||||
- CLI
|
||||
- CSS
|
||||
- Devops
|
||||
- Elixir
|
||||
- Git
|
||||
- HTML
|
||||
- JavaScript
|
||||
- JavaScript libraries
|
||||
- Jekyll
|
||||
- Ledger
|
||||
- Markup
|
||||
- Node.js
|
||||
- Rails
|
||||
- React
|
||||
- Ruby
|
||||
- Ruby libraries
|
||||
- Vim
|
||||
- Fitness
|
||||
- Others
|
|
@ -40,7 +40,8 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% for category in site.data.category.names %}
|
||||
|
||||
{% for category in site.data.categories.names %}
|
||||
<h2 class='category item' id='{{ category | downcase | replace: " ", "-" }}' data-js-searchable-header>
|
||||
<span>{{ category }}</span>
|
||||
</h2>
|
||||
|
@ -61,5 +62,6 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include 2017/foot.html %}
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
---
|
||||
og_type: article
|
||||
type: article
|
||||
---
|
||||
{% include 2017/head.html %}
|
||||
|
||||
{% include 2017/top-nav.html page=page %}
|
||||
|
|
|
@ -5,7 +5,7 @@ type: home
|
|||
{% include head.html %}
|
||||
{% include site-header.html %}
|
||||
|
||||
{% for category in site.data.category.names %}
|
||||
{% for category in site.data.categories.names %}
|
||||
<div class='pages-header'>
|
||||
<h2 id='{{ category | downcase | replace: " ", "-" }}'>{{ category }}</h2>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue