rename blog to something more apt
This commit is contained in:
parent
4c3d8baf0a
commit
53c1d1b40d
6 changed files with 9 additions and 9 deletions
|
@ -1,15 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml-stylesheet type="text/xsl" href="/blog/feed.xsl" ?>
|
||||
<?xml-stylesheet type="text/xsl" href="/ramblings/feed.xsl" ?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<atom:link href="https://celery.eu.org/rss.xml" rel="self" type="application/rss+xml" />
|
||||
<title>celery rss</title>
|
||||
<link>https://celery.eu.org/blog/feed.xml</link>
|
||||
<link>https://celery.eu.org/ramblings/feed.xml</link>
|
||||
<description>rss feed for celery.eu.org</description>
|
||||
<item>
|
||||
<title>Hello, world!</title>
|
||||
<guid>hello.html</guid>
|
||||
<link>https://celery.eu.org/blog/hello.html</link>
|
||||
<link>https://celery.eu.org/ramblings/hello.html</link>
|
||||
<content type="html"><h1>Hello, world!</h1>
|
||||
<p>This is a test blog entry for my new blog system.</p>
|
||||
</content>
|
|
@ -26,7 +26,7 @@ const renderMarkdown = (item: Item) => `
|
|||
<title>${item.title}</title>
|
||||
<meta charset="utf8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=alternate title="feed" type=application/atom+xml href="/blog/feed.xml">
|
||||
<link rel=alternate title="feed" type=application/atom+xml href="/ramblings/feed.xml">
|
||||
<link rel="stylesheet" href="/assets/style2.css" />
|
||||
<link rel="stylesheet" href="/assets/code.css" />
|
||||
</head>
|
||||
|
@ -55,7 +55,7 @@ const renderItem = (item: Item) => `
|
|||
<item>
|
||||
<title>${item.title}</title>
|
||||
<guid>${item.path.replace(/\.md$/, ".html")}</guid>
|
||||
<link>https://celery.eu.org/blog/${item.path.replace(/\.md$/, ".html")}</link>
|
||||
<link>https://celery.eu.org/ramblings/${item.path.replace(/\.md$/, ".html")}</link>
|
||||
<content type="html">${marked.parse(item.content)}</content>
|
||||
<updated>${item.mtime.toISOString()}</updated>
|
||||
</item>
|
||||
|
@ -63,12 +63,12 @@ const renderItem = (item: Item) => `
|
|||
|
||||
const renderFeed = (entries: Array<Item>) => `
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml-stylesheet type="text/xsl" href="/blog/feed.xsl" ?>
|
||||
<?xml-stylesheet type="text/xsl" href="/ramblings/feed.xsl" ?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<atom:link href="https://celery.eu.org/rss.xml" rel="self" type="application/rss+xml" />
|
||||
<title>celery rss</title>
|
||||
<link>https://celery.eu.org/blog/feed.xml</link>
|
||||
<link>https://celery.eu.org/ramblings/feed.xml</link>
|
||||
<description>rss feed for celery.eu.org</description>
|
||||
${entries.map(renderItem)}</channel>
|
||||
</rss>
|
|
@ -4,7 +4,7 @@
|
|||
<title>Hello, world!</title>
|
||||
<meta charset="utf8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=alternate title="feed" type=application/atom+xml href="/blog/feed.xml">
|
||||
<link rel=alternate title="feed" type=application/atom+xml href="/ramblings/feed.xml">
|
||||
<link rel="stylesheet" href="/assets/style2.css" />
|
||||
<link rel="stylesheet" href="/assets/code.css" />
|
||||
</head>
|
|
@ -4,7 +4,7 @@
|
|||
<title>index</title>
|
||||
<meta charset="utf8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel=alternate title="feed" type=application/atom+xml href="/blog/feed.xml">
|
||||
<link rel=alternate title="feed" type=application/atom+xml href="/ramblings/feed.xml">
|
||||
<link rel="stylesheet" href="/assets/style2.css" />
|
||||
<link rel="stylesheet" href="/assets/code.css" />
|
||||
</head>
|
Loading…
Reference in a new issue