-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
34 lines (33 loc) · 1004 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
28
29
30
31
32
33
34
---
permalink: /
layout: layouts/default
title: Home
tags: ospo
eleventyNavigation:
parent: ospo
key: ospo-home
order: 1
title: About this guide
description: CMS Open Source Program Office Guide
eleventyExcludeFromCollections: true
---
<div class="usa-section intro-header">
<div class="grid-container">
<h1 class="visually-hidden">
{{ title }}
</h1>
<p class="usa-intro usa-intro--sections no-print">{{ description }}</p>
</div>
</div>
<div class="usa-section layout--sections">
{% for obj in guide_sections %}
{% comment %}
guide_sections is a hash, so the object in the iteration is a key/values array.
obj[0] is the key, which can be used as a slugified version of the section name.
obj[1] is the section values object.
{% endcomment %}
{% assign section_slug = obj[0] %}
{% assign section = obj[1] %}
{% include "home/homepage-section.html" section_slug: section_slug section: section %}
{% endfor %}
</div>