Skip to content

Commit

Permalink
add vod link to atom feed entries
Browse files Browse the repository at this point in the history
  • Loading branch information
limulus committed Jul 27, 2024
1 parent 15e9e41 commit e4fe72a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions www/feed.njk
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:base="{{ metadata.url }}">
<title>{{ metadata.title }}</title>
{% if metadata.subtitle %}
{%- if metadata.subtitle %}
<subtitle>{{ metadata.subtitle }}</subtitle>
{% endif %}
{%- endif %}
<link href="{{ permalink | absoluteUrl(metadata.url) }}" rel="self"/>
<link href="{{ metadata.url }}"/>
<updated>{{ collections.posts | getNewestCollectionItemDate | dateToRfc3339 }}</updated>
Expand All @@ -36,6 +36,13 @@
<updated>{{ post.date | dateToRfc3339 }}</updated>
<id>{{ absolutePostUrl }}</id>
<content xml:lang="{{ metadata.language }}" type="html">{{ post.data.teaser }}</content>
{%- if post.data.vod %}
<link
rel="enclosure"
type="application/vnd.apple.mpegurl"
href="https://vod.limulus.net/{{ post.data.vod }}/index.m3u8"
/>
{%- endif %}
</entry>
{%- endfor %}
</feed>
1 change: 1 addition & 0 deletions www/journal/github-copilot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ image: poster.jpeg
teaser: >-
A six minute video I produced to show how I am using GitHub Copilot as I work on
my ray tracer, Penumbra. Includes a preview of the upcoming switch to Rust/WebAssembly!
vod: github-copilot-demo/01HTWVCE0J15PDF91C8969JXHH
---

<video-on-demand vod="github-copilot-demo/01HTWVCE0J15PDF91C8969JXHH"></video-on-demand>
Expand Down

0 comments on commit e4fe72a

Please sign in to comment.