diff --git a/marko/page/story/components/story-menu/index.marko b/marko/page/story/components/story-menu/index.marko
index b2d78f4..a31d2c8 100644
--- a/marko/page/story/components/story-menu/index.marko
+++ b/marko/page/story/components/story-menu/index.marko
@@ -1,22 +1,19 @@
\ No newline at end of file
diff --git a/marko/page/story/list.marko b/marko/page/story/list.marko
index 0556b4b..8293789 100644
--- a/marko/page/story/list.marko
+++ b/marko/page/story/list.marko
@@ -1,6 +1,6 @@
<@body>
-
+
@body>
diff --git a/routes/story/by-month.js b/routes/story/by-month.js
index 0f68500..3b16fee 100644
--- a/routes/story/by-month.js
+++ b/routes/story/by-month.js
@@ -1,3 +1,4 @@
+const moment = require("moment")
const express = require("express")
const router = express.Router()
@@ -16,11 +17,10 @@ router.get("/:yearmonth(\-{0,1}[0-9]{4}\-[0-9]{1,2})", common, async(req, res) =
// Month is zero-based, while input is one-based.
const fromDate = new Date(Date.UTC(year, month - 1, 1))
const toDate = new Date(Date.UTC(year, month, 1))
- const monthStr = `${fromDate}-${month > 9 ? month : '0' + month}`
res.markoAsync(listTemplate, {
stories: storyApi.list({earliestFictionalDate: fromDate, latestFictionalDate: toDate}),
- menuMonth: monthStr,
+ menuMonth: {url: moment.utc(fromDate).format("YYYY-MM"), text: moment.utc(fromDate).format("MMMM YYYY")},
selected: {special: "month"},
})
} catch(err) {