diff options
author | Jeremy Nation <jeremy@jeremynation.me> | 2016-06-05 16:43:12 -0400 |
---|---|---|
committer | Jeremy Nation <jeremy@jeremynation.me> | 2016-06-05 16:43:12 -0400 |
commit | cf3d1ed3bd47ec539993135bf193b0bead8abfe2 (patch) | |
tree | 7fbd5e1b42149218742c3cf98dde4a3e0fd1c138 /pelican-bootstrap3 | |
parent | ccb8efc064dff0cc24fe715d8f83e33e061c64de (diff) | |
download | pelican-themes-cf3d1ed3bd47ec539993135bf193b0bead8abfe2.tar.gz |
Use HTTPS Creative Commons URLs where appropriate
Diffstat (limited to 'pelican-bootstrap3')
-rw-r--r-- | pelican-bootstrap3/README.md | 4 | ||||
-rw-r--r-- | pelican-bootstrap3/templates/includes/cc-license.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pelican-bootstrap3/README.md b/pelican-bootstrap3/README.md index 6e2bf4d..b459bcd 100644 --- a/pelican-bootstrap3/README.md +++ b/pelican-bootstrap3/README.md @@ -207,7 +207,7 @@ If you're using reStructuredText for writing articles and pages, you can include ### Content license -You can optionally declare a [Creative Commons license](http://creativecommons.org) for the content of your site. It will appear in the site's footer. To enable, use one of the following two ways for configuration. +You can optionally declare a [Creative Commons license](https://creativecommons.org) for the content of your site. It will appear in the site's footer. To enable, use one of the following two ways for configuration. * To choose the license by name, set `CC_LICENSE` to the common abbreviated name of the license: `"CC-BY"` (require attribution), `"CC-BY-SA"` (require ShareAlike), `"CC-BY-ND"` (NoDerivatives) , `"CC-BY-NC"` (require attribution, no commercial reuse), `"CC-BY-NC-SA"` (require ShareAlike, no commercial reuse), or `"CC-BY-NC-ND"` (NoDerivatives, no commercial reuse). * Alternatively, choose the licence by features: @@ -215,7 +215,7 @@ You can optionally declare a [Creative Commons license](http://creativecommons.o * `CC_LICENSE_COMMERCIAL` - `"yes"` if commercial reuse is permitted, and `"no"` otherwise. * Optionally, you can include attribution markup in the license mark by setting `CC_ATTR_MARKUP` to _True_. -The license choice mirrors the [Creative Commons License Chooser](http://creativecommons.org/choose/). Source for the macro that renders the mark is at http://github.com/hlapp/cc-tools. +The license choice mirrors the [Creative Commons License Chooser](https://creativecommons.org/choose/). Source for the macro that renders the mark is at http://github.com/hlapp/cc-tools. Alternatively, if you want to use another license type, you can instead use the `CUSTOM_LICENSE` property to set a license string that will be showed at the bottom of every page. Raw HTML is allowed. diff --git a/pelican-bootstrap3/templates/includes/cc-license.html b/pelican-bootstrap3/templates/includes/cc-license.html index c64f265..a1592e6 100644 --- a/pelican-bootstrap3/templates/includes/cc-license.html +++ b/pelican-bootstrap3/templates/includes/cc-license.html @@ -24,7 +24,7 @@ {# specifying how under which title, to which creator, and #} {# to which URL to attribute the work #} {# The parameters all mirror the Creative Commone license chooser: #} -{# http://creativecommons.org/choose/ #} +{# https://creativecommons.org/choose/ #} {# ------------------------------------------------------------------------ #} {# Copyright (c) 1994 Hilmar Lapp, hlapp@drycafe.net. #} {# Licensed under the terms of the MIT License. #} @@ -53,7 +53,7 @@ {% set cc_title_suffix = cc_title_suffix ~ "-ShareAlike" %} {% endif %} {% endif %} - {% set cc_title, cc_uri, cc_icon = ("Creative Commons AttributionCCSUFFIX 4.0 International License","http://creativecommons.org/licenses/CCNAME/4.0/","//i.creativecommons.org/l/CCNAME/4.0/80x15.png") %} + {% set cc_title, cc_uri, cc_icon = ("Creative Commons AttributionCCSUFFIX 4.0 International License","https://creativecommons.org/licenses/CCNAME/4.0/","//i.creativecommons.org/l/CCNAME/4.0/80x15.png") %} <a rel="license" href="{{ cc_uri|replace('CCNAME',cc_name) }}"><img alt="Creative Commons License" style="border-width:0" src="{{ cc_icon|replace('CCNAME',cc_name) }}" /></a> {% if br_after_img %}<br/>{% endif %} {% if attr_markup %} |