-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (35 loc) · 1.21 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
layout: page
title: How OmniBuilds Works
permalink: /
---
<section id="search-results"></section>
<div id="categories">
{% assign weighted_categories = site.category_weights %}
{% assign categories = site.categories %}
{% for weighted_category in weighted_categories %}
{% for category in categories %}
<div class="category-group">
{% assign sorted_articles = category[1] | sort: 'weight' %}
{% capture category_name %}{{ category | first }}{% endcapture %}
{% if category_name != weighted_category %}
{% continue %}
{% else %}
<div id="#{{ category_name | slugify }}"></div>
<h4 class="category-head">{{ category_name }}</h4>
<a name="{{ category_name | slugify }}"></a>
<hr>
{% for article in sorted_articles %}
<article class="post">
{% octicon chevron-right %} <a href="{{ site.url }}{{ site.baseurl }}{{ article.url }}">{{ article.title }}</a>
</article>
{% endfor %}
<br>
{% endif %}
</div>
{% endfor %}
{% endfor %}
</div>
<!-- Scripts for Search Bar -->
<script src="/js/lunr.min.js"></script>
<script src="/js/lunr-feed.js"></script>