add atom feed
This commit is contained in:
parent
585a098243
commit
00e716789a
2 changed files with 20 additions and 0 deletions
|
|
@ -24,6 +24,24 @@ export default function (eleventyConfig) {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
eleventyConfig.addPlugin(feedPlugin, {
|
||||||
|
type: "atom",
|
||||||
|
outputPath: "/feed.xml",
|
||||||
|
collection: {
|
||||||
|
name: "post",
|
||||||
|
limit: 100,
|
||||||
|
},
|
||||||
|
metadata: {
|
||||||
|
language: "en",
|
||||||
|
title: "terezi.pyrope.net",
|
||||||
|
subtitle: "mehbark posts about whatever",
|
||||||
|
base: "https://terezi.pyrope.net/",
|
||||||
|
author: {
|
||||||
|
name: "mehbark",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
eleventyConfig.addPlugin(IdAttributePlugin);
|
eleventyConfig.addPlugin(IdAttributePlugin);
|
||||||
|
|
||||||
eleventyConfig.setNunjucksEnvironmentOptions({
|
eleventyConfig.setNunjucksEnvironmentOptions({
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@ title: terezi.pyrope.net
|
||||||
<meta property="og:site_name" content="terezi.pyrope.net">
|
<meta property="og:site_name" content="terezi.pyrope.net">
|
||||||
<meta name="twitter:image" content="/res/pyralspite.webp">
|
<meta name="twitter:image" content="/res/pyralspite.webp">
|
||||||
<meta name="theme-color" content="#008282">
|
<meta name="theme-color" content="#008282">
|
||||||
|
|
||||||
|
<link rel="alternate" type="application/atom+xml" href="/feed.xml" title="terezi.pyrope.net atom feed">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1 id="site-title"><a href="/">T3R3Z1.PYROP3.N3T</a></h1>
|
<h1 id="site-title"><a href="/">T3R3Z1.PYROP3.N3T</a></h1>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue