cheatsheets/_layouts/home.html

30 lines
861 B
HTML

---
html_class: home
---
{% include head.html %}
{% include site-header.html %}
{% for category in site.category_names %}
<div class='pages-header'>
<h2 id='{{ category | downcase | replace: " ", "-" }}'>{{ category }}</h2>
</div>
<div class='pages-list'>
{% for page in site.pages %}
{% if page.category == category %}
{% if page.type == article %}
<a href="{{base}}{{ page.url | remove: '.html' }}">
<span class='title'>{{ page.title }}</span>
<span class='date'>{{ page.url | remove: '.html' | remove: '/' }}</span>
</a>
{% endif %}
{% endif %}
{% endfor %}
</div>
{% endfor %}
<div class='side-ad'>
<script async src='//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=ricostacruzcom' id="_carbonads_js"></script>
</div>
{% include foot.html %}