mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-22 20:11:33 +00:00
This adds two new feeds to the site: `feed.xml` includes all blog posts, and `vulnerabilities.xml` includes all posts tagged with `vulnerabilities`. Resolves #1763 --------- Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
18 lines
680 B
XML
18 lines
680 B
XML
{%- assign entry = include.entry -%}
|
|
<entry>
|
|
<id>{{ site.url }}{{ entry.url }}</id>
|
|
<link href="{{ site.url }}{{ entry.url }}" rel="alternate" type="text/html" />
|
|
<title type="text">{{ entry.title }}</title>
|
|
{%- if entry.author %}
|
|
<author>
|
|
<name>{{ entry.author }}</name>
|
|
</author>
|
|
{%- endif %}
|
|
<published>{{ entry.date | date_to_xmlschema }}</published>
|
|
<updated>{{ entry.last_modified_at | default: post.date | date_to_xmlschema }}</updated>
|
|
{%- for tag in post.tags %}
|
|
<category term="{{ tag | xml_escape }}" />
|
|
{%- endfor %}
|
|
<content type="html"><![CDATA[ <a href="{{ site.url }}{{ entry.url }}">Read {{ entry.title }}</a> ]]></content>
|
|
</entry>
|