From 05b5cae7b7b4b3aaad0dd2bc058a5514f24d3d72 Mon Sep 17 00:00:00 2001 From: basti-schr Date: Fri, 1 Mar 2019 15:17:20 +0100 Subject: [PATCH] Add custom licence - use your licence of choice --- README.md | 13 +++++++++++++ layouts/partials/footer.html | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f1f374..cdaa929 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,19 @@ theme = "basics" author = "Author Name" ``` +#### Add License +Add a license for the content in your `config.toml` file. It will be displayed in the footer. + +See below for an example: +``` +baseURL = "" +languageCode = "en-us" +title = "Basics Theme Demo" +theme = "basics" +license = "CC-BY-4.0" + +``` + #### Add Links to GitHub and GitLab Add GitHub and GitLab usernames to `.Site.Params.github` and `.Site.Params.gitlab` parameters in your `config.toml` file. Links to these accounts would show up in the top navigation bar. If these parameters are not present or is left blank, the links would disappear. diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b3a9cfb..9b17515 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,7 +1,7 @@