-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Footer: replace the attribution with licenses and source code link
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- Forked from themes/kayal/layouts/partials/footer.html to add licences --> | ||
<footer> | ||
<div class="copyright"> | ||
{{ with .Site.Params.copyright }} © {{ dateFormat "2006" now }} {{ . | safeHTML }} {{ end }} | ||
</div> | ||
<div class="licences"> | ||
The content is <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>. | ||
The <a href="https://github.com/expurple/home.expurple.me">source code</a> is | ||
<a href="https://opensource.org/license/MIT">MIT</a> | ||
</div> | ||
{{ if not .Site.Params.removeAttribution }} | ||
<div class="attribution"> | ||
Built with <a href="https://gohugo.io" target="_blank">Hugo</a> & <a href="https://github.com/mnjm/kayal" target="_blank">Kayal</a> | ||
</div> | ||
{{ end }} | ||
</footer> |