From cfd0246b241cb6e58153e68f7e30ed56b9bf054b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 17 Nov 2024 20:15:02 -0300 Subject: Remove jekyll infrastructure setup --- _includes/categories.html | 40 -------------------- _includes/feed.atom | 90 -------------------------------------------- _includes/i18n-date.html | 20 ---------- _includes/link-listing.html | 23 ----------- _includes/music-listing.html | 18 --------- _includes/public-inbox.html | 27 ------------- 6 files changed, 218 deletions(-) delete mode 100644 _includes/categories.html delete mode 100644 _includes/feed.atom delete mode 100644 _includes/i18n-date.html delete mode 100644 _includes/link-listing.html delete mode 100644 _includes/music-listing.html delete mode 100644 _includes/public-inbox.html (limited to '_includes') diff --git a/_includes/categories.html b/_includes/categories.html deleted file mode 100644 index 7f1e4cd..0000000 --- a/_includes/categories.html +++ /dev/null @@ -1,40 +0,0 @@ -{% assign entries_with_categories = "" | split:"" %} -{% for entry in site[include.kind] %} - {% if entry.lang == page.lang %} - {% if entry.eu_categories %} - {% assign entries_with_categories = entries_with_categories | push:entry %} - {% endif %} - {% endif %} -{% endfor %} -{% assign entries_with_categories = entries_with_categories | reverse %} - -{% assign categories = "" | split:"" %} -{% for entry in entries_with_categories %} - {% assign entry_categories = entry.eu_categories | split:"," %} - {% for entry_category in entry_categories %} - {% assign categories = categories | push:entry_category %} - {% endfor %} -{% endfor %} - -{% assign unique_categories = categories | sort | uniq %} -{% for category in unique_categories %} - {% assign feed_link = "feed." | append:include.kind | append:"-by-category." | append:page.lang | append:"." | append:category | append:".atom" | replace:" ", "-" %} -

- {{ category }} - - {{ site.t.alt.atom[page.lang] }} - -

- -{% endfor %} diff --git a/_includes/feed.atom b/_includes/feed.atom deleted file mode 100644 index 6ea84b3..0000000 --- a/_includes/feed.atom +++ /dev/null @@ -1,90 +0,0 @@ -{% assign - is_audio=site.atom[include.kind].audio -%}{% assign - is_video=site.atom[include.kind].video -%} - {% if is_audio or is_video %} - - - {{ site.title | smartify | xml_escape }} - {{ site.t[include.kind].feed.title[include.lang] | smartify | xml_escape }} - {{ page.url | absolute_url | xml_escape }} - - {{ include.lang }} - CC BY-SA 4.0 - - {{ site.time | date_to_xmlschema }} - http://blogs.law.harvard.edu/tech/rss - - {{ site.author.name | xml_escape }} 3 - {{ site.author.email | xml_escape }} ({{ site.author.name | xml_escape }}) - - {{ '/' | absolute_url | xml_escape }}static/lord-favicon.png - {{ page.url | absolute_url | xml_escape }} - {{ site.t[include.kind].feed.title[include.lang] }} - - {% else %} - - - - {{ site.title | xml_escape }} - {{ site.t[include.kind].feed.title[include.lang] | smartify | xml_escape }} - {{ page.url | absolute_url | xml_escape }} - {{ site.time | date_to_xmlschema }} - - - {{ site.author.name | xml_escape }} - {{ site.author.email | xml_escape }} - - {% endif %} - - {% assign entries = include.entries | where:"lang", include.lang | has_category:include.categories_filter | sort: "date" | reverse %} - {% for entry in entries %} - {% if is_audio or is_video %} - - {{ entry.title | smartify | strip_html | normalize_whitespace | xml_escape }} - {{ entry.url | absolute_url | xml_escape }} - {{ entry.url | absolute_url | xml_escape }} - - {{ entry.content | strip | xml_escape }} - - {% if is_audio %} - - {% elsif is_video %} - - {% endif %} - EuAndreh - {{ entry.date | date_to_xmlschema }} - - {% else %} - - {{ entry.title | smartify | strip_html | normalize_whitespace | xml_escape }} - - {{ entry.date | date_to_xmlschema }} - {{ entry.updated_at | default: entry.date | date_to_xmlschema }} - {{ entry.url | absolute_url | xml_escape }} - - - {{ entry.content | strip | xml_escape }} - - - - {{ site.author.name | xml_escape }} - {{ site.author.email | xml_escape }} - - - {{ entry.excerpt | strip_html | normalize_whitespace | xml_escape }} - - {% endif %} - {% endfor %} - -{% if is_audio or is_video %} - - -{% else %} - -{% endif %} diff --git a/_includes/i18n-date.html b/_includes/i18n-date.html deleted file mode 100644 index c57d93b..0000000 --- a/_includes/i18n-date.html +++ /dev/null @@ -1,20 +0,0 @@ -{% capture i18n_month %} -{% assign m = include.date | date: "%-m" | minus: 1 %} -{{ site.t.months[page.lang][m] }} -{% endcapture %} -{% if page.lang == "en" %} - {% comment %} - handcrafting the "%B %-d, %Y" date format - {% endcomment %} - {{ i18n_month }}{{ include.date | date: "%-d, %Y" }} -{% elsif page.lang == "pt" %} - {% comment %} - handcrafting the "%-d de %B de %Y" date format - {% endcomment %} - {{ include.date | date: "%-d de " }}{{ i18n_month }}{{ include.date | date: " de %Y" }} -{% elsif page.lang == "fr" %} - {% comment %} - handcrafting the "%-d de %B de %Y" date format - {% endcomment %} - {{ include.date | date: "%-d de " }}{{ i18n_month }}{{ include.date | date: " de %Y" }} -{% endif %} diff --git a/_includes/link-listing.html b/_includes/link-listing.html deleted file mode 100644 index 2d89070..0000000 --- a/_includes/link-listing.html +++ /dev/null @@ -1,23 +0,0 @@ -

- {{ site.t[include.kind].listing[page.lang] }} - - {{ site.t.alt.atom[page.lang] }} - -

- - - -

- - {{ site.t[include.kind].category.name[page.lang] }} - -

diff --git a/_includes/music-listing.html b/_includes/music-listing.html deleted file mode 100644 index 34d6930..0000000 --- a/_includes/music-listing.html +++ /dev/null @@ -1,18 +0,0 @@ -

- {{ site.t.music.scores[page.lang] }} -

- - diff --git a/_includes/public-inbox.html b/_includes/public-inbox.html deleted file mode 100644 index 9be48ea..0000000 --- a/_includes/public-inbox.html +++ /dev/null @@ -1,27 +0,0 @@ -{% comment %} - This snippet need to be an include and not simply a string entry in - _config.yml. This is because the page.title needs to be injected in the - comment link, and putting it as pieces of a string in _config.yml would make - it harder to understand. -{% endcomment %} -{% if page.lang == 'en' %} - Comment - and see - existing discussions - | view source -{% elsif page.lang == 'pt' %} - Comente - e veja - as discussões existentes - | ver fonte -{% elsif page.lang == 'fr' %} - Commenter - et afficher - les discussion existantes - | voir source -{% elsif page.lang == 'eo' %} - Komentu - kaj - vidi ekzistantajn diskutojn - | vidu fontkodo -{% endif %} -- cgit v1.2.3