Skip to content

Commit

Permalink
list layout
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardodiasc committed Jan 30, 2015
1 parent 6cccd1f commit 15839f4
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 9 deletions.
3 changes: 3 additions & 0 deletions _includes/nav-docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ <h3>{{ current_section | replace: '-',' ' | capitalize }}</h3>
<a {% if p.url == page.url %}class="active"{% endif %} href="{{ site.baseurl }}{{ p.url }}">
{{ p.title }}
</a>
{% if include.mode == "description" %}
<p>{{ p.description }}</p>
{% endif %}
</li>
{% endif %}
{% endfor %}
Expand Down
6 changes: 1 addition & 5 deletions _layouts/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
<div class="column content">
<a class="tools-right" href="https://github.com/symphonycms/docs.getsymphony.com/tree/gh-pages/{{ page.path }}" target="_blank">Edit on GitHub</a>

{% include nav-docs.html %}
{% include nav-docs.html mode="description" %}

<!--
Note: this is a temporary page. Will be a list of the pages that usualy is in the sidebar,
but here with the short description below the title. Need a bit care with the styles.
-->
</div>
</div>
5 changes: 3 additions & 2 deletions community/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: ""
weight: 0
title: "Community"
weight: -1
description: ""
layout: list
---
5 changes: 5 additions & 0 deletions guides/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Guides"
weight: -1
description: ""
---
6 changes: 6 additions & 0 deletions guides/screencasts/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Screencasts"
weight: -1
description: ""
layout: list
---
5 changes: 3 additions & 2 deletions guides/tutorials/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: ""
weight: 0
title: "Tutorials"
weight: -1
description: ""
layout: list
---
5 changes: 5 additions & 0 deletions releases/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Releases"
weight: -1
description: ""
---

0 comments on commit 15839f4

Please sign in to comment.