mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
Add a licensing page
This commit is contained in:

committed by
Alexis Tacnet

parent
182d6ae766
commit
7dc989c3bf
@@ -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,6 +41,10 @@
|
|||||||
<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>
|
||||||
|
Reference in New Issue
Block a user