forked from tophyip/hyipworld.github.io
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
28 lines (27 loc) · 900 Bytes
/
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
---
layout: default
---
{% comment %}
*
* This loop loops through a collection called `feeds` with category 'section'
* and sorts it by the front matter variable 'weight' and than render
* each of the {{ output }} with their own layout
*
* Difference between Section, Container and Div:
* - Section: Has standard full width of viewport and cannot have nested sections
* - Container: Same as Div but locked at 940 pixel width and auto-placed in center of page
* - Div: Same as a container without restrictions and can have nested divs
*
* To provide it with an online work you may see the running code here:
* https://chetabahana.github.io/
*
{% endcomment %}
{%- assign sections = site.feeds | sort: 'weight' | where_exp:"item", "item.category == 'section'" -%}
<!DOCTYPE html>
<html lang="id">
<head>
{% for section in sections %}
{{ section.output }}
{% endfor %}
</body>
</html>