Add IDs to home page headings (#39)

This commit is contained in:
Rico Sta. Cruz 2016-08-30 00:19:35 +08:00
parent 05239b99c1
commit b0b9fd1fb5
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ html_class: home
{% for category in site.category_names %} {% for category in site.category_names %}
<div class='pages-header'> <div class='pages-header'>
<h2>{{ category }}</h2> <h2 id='{{ category | downcase | replace: " ", "-" }}'>{{ category }}</h2>
</div> </div>
<div class='pages-list'> <div class='pages-list'>
{% for page in site.pages %} {% for page in site.pages %}