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

@@ -6,9 +6,9 @@
<body>
{{ if .IsPage }}
<section class="header">
<section class="header">
{{ else }}
<section class="header header-home">
<section class="header header-home">
{{ end }}
<div class="container">
<a href="{{ .Site.BaseURL }}"><img class="logo" src="{{ .Site.Params.logofile | absURL }}" alt="logo" /></a>
@@ -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,12 +41,16 @@
<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>
</a>
{{ end }}
{{ if .Site.Params.twitter }}
<a href="https://twitter.com/{{ .Site.Params.twitter }}" target="_blank">
<i class="icon ion-social-twitter" title="twitter"></i>