We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbb0f96 commit 963e412Copy full SHA for 963e412
scripts/generate-feed.sc
@@ -56,7 +56,7 @@ val items = os.list(path).filter(file =>
56
val mdContent = os.read.lines(file)
57
val title = extractTitle(mdContent).getOrElse(file.toString)
58
val pubDate = ZonedDateTime.of(ctime, LocalTime.MIN, ZoneId.systemDefault)
59
- Element.Item.create(title, s"${baseUrl}/file", "at {}", author, pubDate=Some(pubDate))
+ Element.Item.create(title, s"${baseUrl}/${file.baseName}.${file.ext}", "at {}", author, pubDate=Some(pubDate))
60
}
61
62
val channel = Element.Channel.create(blogTitle,feedUrl,"random unsorted notes",items)
0 commit comments