Merge branch dev into master via CloudCannon #6

Merged
sakrecoer merged 3 commits from dev into master 2024-10-13 19:34:28 +02:00
4 changed files with 21 additions and 6 deletions

View file

@ -15,6 +15,7 @@ group :jekyll_plugins do
gem "jekyll-paginate-v2", "~>1.7" gem "jekyll-paginate-v2", "~>1.7"
gem "jekyll-sitemap", "1.2.0" gem "jekyll-sitemap", "1.2.0"
gem "jekyll-seo-tag", "2.6.0" gem "jekyll-seo-tag", "2.6.0"
gem 'jekyll-last-modified-at'
end end

View file

@ -27,6 +27,9 @@ GEM
pathutil (~> 0.9) pathutil (~> 0.9)
rouge (>= 1.7, < 4) rouge (>= 1.7, < 4)
safe_yaml (~> 1.0) safe_yaml (~> 1.0)
jekyll-last-modified-at (1.1.0)
jekyll (>= 3.7, < 5.0)
posix-spawn (~> 0.3.9)
jekyll-paginate-v2 (1.9.4) jekyll-paginate-v2 (1.9.4)
jekyll (~> 3.0) jekyll (~> 3.0)
jekyll-sass-converter (1.5.2) jekyll-sass-converter (1.5.2)
@ -46,6 +49,7 @@ GEM
mercenary (0.3.6) mercenary (0.3.6)
pathutil (0.16.2) pathutil (0.16.2)
forwardable-extended (~> 2.6) forwardable-extended (~> 2.6)
posix-spawn (0.3.13)
public_suffix (3.1.1) public_suffix (3.1.1)
rb-fsevent (0.10.3) rb-fsevent (0.10.3)
rb-inotify (0.10.0) rb-inotify (0.10.0)
@ -64,6 +68,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
jekyll (~> 3.8.5) jekyll (~> 3.8.5)
jekyll-last-modified-at
jekyll-paginate-v2 (~> 1.7) jekyll-paginate-v2 (~> 1.7)
jekyll-seo-tag (= 2.6.0) jekyll-seo-tag (= 2.6.0)
jekyll-sitemap (= 1.2.0) jekyll-sitemap (= 1.2.0)

View file

@ -1,7 +1,7 @@
{% seo %} {% seo %}
<!-- BEGIN seo.html --> <!-- BEGIN seo.html -->
<meta name="title" content="{{ page.title }} | {{ site.title }}" /> <meta name="title" content="{{ page.title }} | {{ site.title }}" />
<meta name="dc.date.modified" scheme="ISO8601" content="{{ site.time | date_to_xmlschema }}" /> <meta name="dc.date.modified" scheme="ISO8601" content="{{ page.last_modified_at | date_to_xmlschema }}" />
<meta name="robots" content="index" /> <meta name="robots" content="index" />
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

19
rss.xml
View file

@ -12,11 +12,20 @@ layout: null
<title>{{ site.title }}</title> <title>{{ site.title }}</title>
<description>{{ site.description }}</description> <description>{{ site.description }}</description>
<link>{{ site.url }}</link> <link>{{ site.url }}</link>
<language>en-us</language> <language>{{ site.lang }}</language>
<copyright>Creative Commons CC-BY-SA</copyright> <copyright>Creative Commons CC-BY-SA</copyright>
<lastBuildDate>{{ site.time | date_to_xmlschema }}</lastBuildDate> <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<pubDate>{{ site.time | date_to_xmlschema }}</pubDate> <pubDate>{% for track in site.tracks limit: 1 %}{{ track.last_modified_at | date_to_rfc822 }}{% endfor %}</pubDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs> <docs>https://cyber.harvard.edu/rss/rss.html</docs>
<generator>Jekyll</generator>
<image>
<url>{{ site.url }}{{ site.logo }}</url>
<title>{{ site.title }}</title>
<link>{{ site.url }}</link>
<width>480</width>
<height>480</height>
</image>
<managingEditor>{{ site.author.email }}</managingEditor>
<webMaster>{{ site.author.email }}</webMaster> <webMaster>{{ site.author.email }}</webMaster>
<itunes:author>{{ site.author.name }}</itunes:author> <itunes:author>{{ site.author.name }}</itunes:author>
@ -45,7 +54,7 @@ layout: null
<description> &lt;img src=&quot;{{ post.image }}&quot; /&gt; {{ post.content | xml_escape }}</description> <description> &lt;img src=&quot;{{ post.image }}&quot; /&gt; {{ post.content | xml_escape }}</description>
<enclosure url="{{ post.mp3 }}?ref=rss" type="audio/mpeg"/> <enclosure url="{{ post.mp3 }}?ref=rss" type="audio/mpeg"/>
<category>Podcasts</category> <category>Podcasts</category>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate> <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<itunes:author>Sakrecoer</itunes:author> <itunes:author>Sakrecoer</itunes:author>