Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumberto Rocha <humrochagf@gmail.com>2019-07-29 18:39:57 +0300
committerHumberto Rocha <humrochagf@gmail.com>2019-07-29 18:39:57 +0300
commit8373f748ed1b3f2dddfe3cec85bf41a2bea9e669 (patch)
treea08e0a073f3bd4e57e93acebe6e92362f79163dc /layouts/partials
parentfb3ac7034cb4f8ab69a25a913f9c4d8dc41b5461 (diff)
Add license block
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/license.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layouts/partials/license.html b/layouts/partials/license.html
new file mode 100644
index 0000000..21b5aef
--- /dev/null
+++ b/layouts/partials/license.html
@@ -0,0 +1,15 @@
+{{ if . }}
+ <div class="license">
+ <a rel="license" target="_blank" href="https://creativecommons.org/licenses/{{ .type }}/{{ .version }}/deed.{{ .locale }}">
+ <img alt="{{ i18n "license1" }}" style="border-width:0" src="/img/license/{{ .type }}/{{ .version }}/{{ .size }}.png" />
+ </a>
+
+ <p>
+ {{ i18n "license2" }}
+
+ <a rel="license" target="_blank" href="https://creativecommons.org/licenses/{{ .type }}/{{ .version }}/deed.{{ .locale }}">
+ {{ i18n "license3" }} {{ .name }} {{ .version }} {{ i18n "license4" }}
+ </a>.
+ </p>
+ </div>
+{{ end }}