From e0299c5521d40f8ea742cced66e536e43eca830f Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Thu, 10 Mar 2016 09:36:33 -0800 Subject: [PATCH 1/2] markdownify filter on fields for which markdown is OK as suggested by @benbalter in / fixes #367 also use markdown to make EUPL boilerplate linked --- _includes/sidebar.html | 4 ++-- _licenses/eupl-1.1.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/sidebar.html b/_includes/sidebar.html index f2b9b9b..1deb55e 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -4,11 +4,11 @@
How to apply this license

- {{ page.how }} + {{ page.how | markdownify }}

{% if page.note %}

- Note: {{ page.note }} + Note: {{ page.note | markdownify }}

{% endif %}
diff --git a/_licenses/eupl-1.1.txt b/_licenses/eupl-1.1.txt index 893f3cb..e1612ed 100644 --- a/_licenses/eupl-1.1.txt +++ b/_licenses/eupl-1.1.txt @@ -10,7 +10,7 @@ description: The “European Union Public Licence” (EUPL) is a copyleft free/o how: Create a text file (typically named COPYING or LICENCE.txt) in the root of your source code and copy the text of the license into the file. -note: The European Commission recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at https://joinup.ec.europa.eu/sites/default/files/ckeditor_files/files/EUPL%201_1%20Guidelines%20EN%20Joinup.pdf +note: The European Commission recommends taking the additional step of adding a [boilerplate notice](https://joinup.ec.europa.eu/sites/default/files/ckeditor_files/files/EUPL%201_1%20Guidelines%20EN%20Joinup.pdf#page=17) to the top of each file. conditions: - include-copyright From b4979b3dd4c0a24402f7af12bd62b66d7af75bfa Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Thu, 10 Mar 2016 20:09:35 -0800 Subject: [PATCH 2/2] remove

and

added by markdownify --- _includes/sidebar.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 1deb55e..7d15eab 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -4,11 +4,11 @@
How to apply this license

- {{ page.how | markdownify }} + {{ page.how | markdownify | remove: '

' | remove: '

' }}

{% if page.note %}

- Note: {{ page.note | markdownify }} + Note: {{ page.note | markdownify | remove: '

' | remove: '

' }}

{% endif %}