Skip to content

Commit f28ea89

Browse files
committed
cleaning up main docs index
Signed-off-by: Vanessa Sochat <[email protected]>
1 parent ffb22db commit f28ea89

File tree

6 files changed

+13
-7
lines changed

6 files changed

+13
-7
lines changed

_docs/example-page.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: A Nested Page
3+
description: An example of a nested page
34
---
45

56
# A Nested Page

_docs/extras/example-quiz.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Quiz
3+
description: How to add interactive quizzes to your site.
34
---
45

56
# Quizzes

_docs/extras/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Extras
3+
description: Extras, including quizzes.
34
---
45

56
# Extras

_docs/getting-started.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Getting Started
33
tags:
44
- jekyll
55
- github
6+
description: Getting started with Docsy Jekyll
67
---
78

89
# Getting Started

_docs/subfolder/example-page.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: A Nested Page
3+
description: An example of a a nested page in a subfolder.
34
---
45

56
# A Nested Page

pages/docs.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ permalink: /docs/
99
Welcome to the {{ site.title }} Documentation pages! Here you can quickly jump to a
1010
particular page.
1111

12-
{% for post in site.docs %}
13-
<ul>
14-
<li class="c-archives__item">
15-
<a href="{{ post.url | prepend: site.baseurl }}"><h4>{{ post.title }}</h4></a>
16-
</li>
17-
</ul>
18-
{% endfor %}
12+
<div class="section-index">
13+
<hr class="panel-line">
14+
{% for post in site.docs %}
15+
<div class="entry">
16+
<h5><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h5>
17+
<p>{{ post.description }}</p>
18+
</div>{% endfor %}
19+
</div>

0 commit comments

Comments
 (0)