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
@@ -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>
|
||||
|
Reference in New Issue
Block a user