mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-22 03:51:33 +00:00
feat: add feeds for the blog and vulnerabilities (#1867)
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>
This commit is contained in:
10
_layouts/feed.xml
Normal file
10
_layouts/feed.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
||||
<title type="text">{{ page.title }}</title>
|
||||
<link href="{{ site.url }}{{ page.html_url }}" rel="alternate" type="text/html" />
|
||||
<link href="{{ site.url }}{{ page.url }}" rel="self" type="application/atom+xml" />
|
||||
<id>{{ site.url }}{{ page.url }}</id>
|
||||
<rights>Copyright The Express Contributors</rights>
|
||||
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
||||
{{ content }}
|
||||
</feed>
|
||||
Reference in New Issue
Block a user