Skip to content

Commit

Permalink
fix rss links
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Oct 12, 2024
1 parent ea16e35 commit 9a12b5c
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 16 deletions.
3 changes: 2 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ function make(f, page_folder, destination)
sort!(entries; by=x -> x[2].date, rev=true)
for (dir, entry) in entries
page = BonitoSites.MarkdownPage(dir)
routes[entry.link] = App(f(page))
route = replace(entry.link, "./" => "")
routes[route] = App(f(page))
end
site_entries = map(x -> x[2], entries)
routes["/"] = App(f(Bonito.Col(site_entries...)))
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blogposts/May-2023-News/post.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<item>
<title>May 2024 News</title>
<link>/blogposts/May-2023-News</link>
<link>./blogposts/May-2023-News</link>
<description>News from MakieCon and updates about Makie</description>
<pubDate>Mon, 15 May 3 14:37:22</pubDate>
</item>
4 changes: 2 additions & 2 deletions src/pages/blogposts/makiecon/post.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<item>
<title>MakieCon 2022</title>
<link>/blogposts/makiecon</link>
<link>./blogposts/makiecon</link>
<description>Updates From MakieCon</description>
<pubDate>Mon, 19 Dec 2 19:16:47</pubDate>
</item>
</item>
4 changes: 2 additions & 2 deletions src/pages/blogposts/v0.16/post.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<item>
<title>v0.16</title>
<link>/blogposts/v0.16</link>
<link>./blogposts/v0.16</link>
<description>Updates in Makie version v0.16</description>
<pubDate>Wed, 16 Mar 2 19:55:25</pubDate>
</item>
</item>
4 changes: 2 additions & 2 deletions src/pages/blogposts/v0.18/post.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<item>
<title>v0.18</title>
<link>/blogposts/v0.18</link>
<link>./blogposts/v0.18</link>
<description>Updates in Makie version v0.18</description>
<pubDate>Wed, 12 Oct 2 15:4:50</pubDate>
</item>
</item>
4 changes: 2 additions & 2 deletions src/pages/blogposts/v0.19.7/post.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<item>
<title>v0.19.7</title>
<link>/blogposts/v0.19.7</link>
<link>./blogposts/v0.19.7</link>
<description>Updates in Makie version v0.19.7</description>
<pubDate>Wed, 26 Jul 3 12:13:20</pubDate>
</item>
</item>
4 changes: 2 additions & 2 deletions src/pages/blogposts/v0.19.9-12/post.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<item>
<title>v0.19.9-12</title>
<link>/blogposts/v0.19.9-12</link>
<link>./blogposts/v0.19.9-12</link>
<description>Updates in Makie version v0.19.9-12</description>
<pubDate>Mon, 30 Oct 3 17:42:2</pubDate>
</item>
</item>
4 changes: 2 additions & 2 deletions src/pages/blogposts/v0.20/post.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<item>
<title>v0.20</title>
<link>/blogposts/v0.20</link>
<link>./blogposts/v0.20</link>
<description>Updates in Makie version v0.20</description>
<pubDate>Mon, 20 Nov 3 15:48:54</pubDate>
</item>
</item>
4 changes: 2 additions & 2 deletions src/pages/blogposts/v0.21/post.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<item>
<title>v0.21</title>
<link>/blogposts/v0.21</link>
<link>./blogposts/v0.21</link>
<description>Updates in Makie version v0.21</description>
<pubDate>Fri, 24 May 4 11:52:10</pubDate>
</item>
</item>

0 comments on commit 9a12b5c

Please sign in to comment.