added option to hide the posts link
This commit is contained in:
parent
8082b14326
commit
38a8b48e8c
2 changed files with 4 additions and 1 deletions
|
|
@ -18,7 +18,9 @@
|
|||
{{ end }}
|
||||
<ul id="main-nav">
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/posts">Posts</a></li>
|
||||
{{ if (.Site.Params.showPostsLink | default true) }}
|
||||
<li><a href="/posts">Posts</a></li>
|
||||
{{ end }}
|
||||
{{ range site.Params.extraContentDirs }}
|
||||
<li><a href="/{{ . }}">{{ . | humanize }}</a></li>
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue