Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Commit

Permalink
fix: menu js error
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Apr 17, 2018
1 parent 94bfb53 commit ed705c7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions www/content/add-your-project.md
@@ -1,6 +1,7 @@
---
title: Add your project
weight: 10
menu: true
---

This will guide you on how to add your own project to this site.
Expand Down
1 change: 1 addition & 0 deletions www/content/introduction.md
@@ -1,6 +1,7 @@
---
title: Introduction
weight: 1
menu: true
---

Install scripts generated by godownloader!
Expand Down
1 change: 1 addition & 0 deletions www/content/projects.md
Expand Up @@ -3,6 +3,7 @@ title: Projects
weight: 100
layout: projects
hide: true
menu: true
---

This is the list of all projects being served in this site.
Expand Down
4 changes: 3 additions & 1 deletion www/layouts/partials/menu.html
@@ -1,9 +1,11 @@
<div class="Sidebar">
<div class="Menu">
{{ range .Pages }}
{{ range .Site.Pages }}
{{ if .Params.menu }}
<div class="item">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</div>
{{ end }}
{{ end }}
</div>
</div>

0 comments on commit ed705c7

Please sign in to comment.