Add a licensing page

This commit is contained in:
Jente Hidskes
2017-02-21 19:53:41 +01:00
committed by Alexis Tacnet
parent 182d6ae766
commit 7dc989c3bf

View File

@@ -27,7 +27,7 @@
{{ end }}
{{ end }}
{{ range where .Site.RegularPages "Section" ""}}
{{ if ne .Title "Home"}}
{{ if and (ne .Title "License") (ne .Title "Home")}}
<a href="{{ .Permalink }}"><li>{{ .Title }}</li></a>
{{ end }}
{{ end }}
@@ -41,6 +41,10 @@
<div class="container">
<div class="content">
{{ if .Site.Params.copyright }}
<a href="{{ .Site.BaseURL }}license">{{ .Site.Params.copyright}}</a>
{{ end }}
{{ if .Site.Params.github }}
<a href="https://github.com/{{ .Site.Params.github }}" target="_blank">
<i class="icon ion-social-github" title="github"></i>