From c6bf5f7c895287d2028f6024265913b59784a154 Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Sun, 27 Sep 2020 17:45:13 -0500 Subject: Bring all of jekyll-text-theme _includes into site --- _includes/article/footer/license.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 _includes/article/footer/license.html (limited to '_includes/article/footer/license.html') diff --git a/_includes/article/footer/license.html b/_includes/article/footer/license.html new file mode 100644 index 0000000..a2c1535 --- /dev/null +++ b/_includes/article/footer/license.html @@ -0,0 +1,14 @@ +{%- include snippets/get-locale-string.html key='LICENSE_ANNOUNCE' -%} +{%- assign _license_announce = __return -%} + +{%- if include.license -%} + + {%-assign _license_name = '[NAME]' | replace: "[URL]", include.license.url | replace: "[NAME]", include.license.name -%} +
+

{{ _license_announce | replace: "[LICENSE]", _license_name }} + + {{ include.license.name }} + +

+
+{%- endif -%} -- cgit v1.2.3