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> <body>
{{ if .IsPage }} {{ if .IsPage }}
<section class="header"> <section class="header">
{{ else }} {{ else }}
<section class="header header-home"> <section class="header header-home">
{{ end }} {{ end }}
<div class="container"> <div class="container">
<a href="{{ .Site.BaseURL }}"><img class="logo" src="{{ .Site.Params.logofile | absURL }}" alt="logo" /></a> <a href="{{ .Site.BaseURL }}"><img class="logo" src="{{ .Site.Params.logofile | absURL }}" alt="logo" /></a>
@@ -27,7 +27,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ range where .Site.RegularPages "Section" ""}} {{ range where .Site.RegularPages "Section" ""}}
{{ if ne .Title "Home"}} {{ if and (ne .Title "License") (ne .Title "Home")}}
<a href="{{ .Permalink }}"><li>{{ .Title }}</li></a> <a href="{{ .Permalink }}"><li>{{ .Title }}</li></a>
{{ end }} {{ end }}
{{ end }} {{ end }}
@@ -41,12 +41,16 @@
<div class="container"> <div class="container">
<div class="content"> <div class="content">
{{ if .Site.Params.copyright }}
<a href="{{ .Site.BaseURL }}license">{{ .Site.Params.copyright}}</a>
{{ end }}
{{ if .Site.Params.github }} {{ if .Site.Params.github }}
<a href="https://github.com/{{ .Site.Params.github }}" target="_blank"> <a href="https://github.com/{{ .Site.Params.github }}" target="_blank">
<i class="icon ion-social-github" title="github"></i> <i class="icon ion-social-github" title="github"></i>
</a> </a>
{{ end }} {{ end }}
{{ if .Site.Params.twitter }} {{ if .Site.Params.twitter }}
<a href="https://twitter.com/{{ .Site.Params.twitter }}" target="_blank"> <a href="https://twitter.com/{{ .Site.Params.twitter }}" target="_blank">
<i class="icon ion-social-twitter" title="twitter"></i> <i class="icon ion-social-twitter" title="twitter"></i>