From c976b03b28efcf4408dc02970d4dde04cccd0f41 Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Fri, 1 Apr 2016 20:52:04 +0200 Subject: [PATCH] Add support of licence --- README.md | 11 +++++++++++ prosopopee/themes/exposure/templates/base.html | 2 +- prosopopee/themes/material/templates/footer.html | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dc15b46..7be1bc5 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,17 @@ settings: theme: material ``` +##### Licence + +By default Prosopopée use CC-BY-SA for all the content, if you want use a another licence +you need add key in **root** settings.yaml. For example: + +```yaml +licences: + name: WTFPL + url: "http://www.wtfpl.net/txt/copying/" +``` + ### Gallery settings.yaml This settings.yaml will describe: diff --git a/prosopopee/themes/exposure/templates/base.html b/prosopopee/themes/exposure/templates/base.html index a62bd68..ef4dffe 100644 --- a/prosopopee/themes/exposure/templates/base.html +++ b/prosopopee/themes/exposure/templates/base.html @@ -28,7 +28,7 @@ {% endblock %} diff --git a/prosopopee/themes/material/templates/footer.html b/prosopopee/themes/material/templates/footer.html index 5c4f98f..18245df 100644 --- a/prosopopee/themes/material/templates/footer.html +++ b/prosopopee/themes/material/templates/footer.html @@ -1,7 +1,7 @@