Migrate legacy archive pages
This commit is contained in:
parent
e90920ce86
commit
cbedd9b723
25 changed files with 652 additions and 1 deletions
16
src/pages/archive/sunday-services/[year]/index.astro
Normal file
16
src/pages/archive/sunday-services/[year]/index.astro
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
import LegacyRedirectPage from "../../../../components/LegacyRedirectPage.astro";
|
||||
|
||||
export function getStaticPaths() {
|
||||
const years = ["2013", "2014", "2015", "2016", "2017", "2018"];
|
||||
|
||||
return years.map((year) => ({
|
||||
params: { year },
|
||||
props: { year },
|
||||
}));
|
||||
}
|
||||
|
||||
const { year } = Astro.props;
|
||||
---
|
||||
|
||||
<LegacyRedirectPage title={`${year} Sunday Services Archive - FFWPU Ireland`} target={`/archive-sunday-services-${year}.html`} />
|
||||
Loading…
Add table
Add a link
Reference in a new issue