diff --git a/web/src/components/WeekNews.astro b/web/src/components/WeekNews.astro index f827e7c..bcdb4e8 100644 --- a/web/src/components/WeekNews.astro +++ b/web/src/components/WeekNews.astro @@ -13,7 +13,7 @@ const current = false;
-

Week {issue.week.split('-').reverse().join('/')}

+

Week {issue.week.split('-').reverse().join('/')}

{format(issue.period[0], "MMM d")} - {format(issue.period[1], "MMM d, yyyy")}
{!issue.published &&
🚧 Future edition
diff --git a/web/src/pages/issue/[week].astro b/web/src/pages/[week].astro similarity index 73% rename from web/src/pages/issue/[week].astro rename to web/src/pages/[week].astro index 8a23a51..ec6e65d 100644 --- a/web/src/pages/issue/[week].astro +++ b/web/src/pages/[week].astro @@ -1,8 +1,8 @@ --- -import BaseLayout from '../../layouts/base.astro'; -import WeekNews from '../../components/WeekNews.astro'; -import issues from '../../issues.json'; -import config from '../../config.yaml'; +import BaseLayout from '../layouts/base.astro'; +import WeekNews from '../components/WeekNews.astro'; +import issues from '../issues.json'; +import config from '../config.yaml'; export function getStaticPaths() { return issues.map(issue => {