-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathastro.config.mjs
More file actions
153 lines (152 loc) · 26.2 KB
/
astro.config.mjs
File metadata and controls
153 lines (152 loc) · 26.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
import {defineConfig} from 'astro/config';
import {rehypeHeadingIds} from '@astrojs/markdown-remark';
import react from '@astrojs/react';
import tailwind from "@astrojs/tailwind";
import mdx from "@astrojs/mdx";
import sitemap from '@astrojs/sitemap';
import { copyContentAssets } from './src/plugins/content-assets.mjs';
import { rehypeRelativeAssets } from './src/plugins/rehype-relative-assets.mjs';
// https://astro.build/config
export default defineConfig({
site: 'https://elixir.no',
redirects: {
// ── Legacy underscore/mixed-case slugs → year/slug ──────────────────────
'/events/2025-06-10_arendalsuka': { destination: '/events/2025/arendalsuka', status: 301 },
'/events/2025-10-20_ELIXIR-Industry-engagement-day': { destination: '/events/2025/elixir-industry-engagement-day', status: 301 },
'/news/20250210-call_for_services': { destination: '/news/2025/call-for-services', status: 301 },
'/news/2025-05-26_ELITMa': { destination: '/news/2025/elitma', status: 301 },
'/news/2025-06-02_AHM-Europe': { destination: '/news/2025/ahm-europe', status: 301 },
'/news/2025_09_17_EOSC_ENTRUST_Workshop': { destination: '/news/2025/eosc-entrust-workshop', status: 301 },
'/news/2025-10-06_CHARM-EU_Open_Science_Recognition_Award': { destination: '/news/2025/charm-eu-open-science-recognition-award', status: 301 },
'/news/2025-10-20_ELIXIR_Industry_Engagement_Day': { destination: '/news/2025/elixir-industry-engagement-day', status: 301 },
'/news/2025-10-27_NeLS_scheduled_maintenance_November': { destination: '/news/2025/nels-scheduled-maintenance-november', status: 301 },
'/news/2026-01-12_Jaspar_CDR': { destination: '/news/2026/jaspar-cdr', status: 301 },
// ── Flat slug → year/slug (all news & events) ───────────────────────────
'/events/arendalsuka': { destination: '/events/2025/arendalsuka', status: 301 },
'/events/dln-hackathon': { destination: '/events/2025/dln-hackathon', status: 301 },
'/events/elixir-industry-engagement-day': { destination: '/events/2025/elixir-industry-engagement-day', status: 301 },
'/news/elixir-galaxy-administrator-workshop-in-oslo': { destination: '/news/2018/elixir-galaxy-administrator-workshop-in-oslo', status: 301 },
'/news/elixir-norway-all-hands-23-24-october-2018': { destination: '/news/2018/elixir-norway-all-hands-23-24-october-2018', status: 301 },
'/news/elixirno-newsletter-no-5': { destination: '/news/2018/elixirno-newsletter-no-5', status: 301 },
'/news/fair-data-management-in-molecular-life-sciences': { destination: '/news/2018/fair-data-management-in-molecular-life-sciences', status: 301 },
'/news/first-hands-on-workshop-in-marine-metagenomics-organised-in-troms': { destination: '/news/2018/first-hands-on-workshop-in-marine-metagenomics-organised-in-troms', status: 301 },
'/news/elixir-excelerate-all-hands-meeting-2019': { destination: '/news/2019/elixir-excelerate-all-hands-meeting-2019', status: 301 },
'/news/elixir-norway-at-the-elixir-all-hands-meeting-in-lisbon': { destination: '/news/2019/elixir-norway-at-the-elixir-all-hands-meeting-in-lisbon', status: 301 },
'/news/elixir-norway-at-the-elixir-innovation-and-sme-forum-in-stockholm-5-6-march': { destination: '/news/2019/elixir-norway-at-the-elixir-innovation-and-sme-forum-in-stockholm-5-6-march', status: 301 },
'/news/highlights-from-elixir-norway-all-hands-2019': { destination: '/news/2019/highlights-from-elixir-norway-all-hands-2019', status: 301 },
'/news/new-release-of-marref-and-mardb': { destination: '/news/2019/new-release-of-marref-and-mardb', status: 301 },
'/news/norway-signs-the-1-million-genomes-declaration': { destination: '/news/2019/norway-signs-the-1-million-genomes-declaration', status: 301 },
'/news/please-help-us-improve-our-bioinformatics-services': { destination: '/news/2019/please-help-us-improve-our-bioinformatics-services', status: 301 },
'/news/2nd-round-of-elixir-fairdom-staff-exchange': { destination: '/news/2020/2nd-round-of-elixir-fairdom-staff-exchange', status: 301 },
'/news/a-story-of-success-elixir-norway-and-the-data-steward-wizard': { destination: '/news/2020/a-story-of-success-elixir-norway-and-the-data-steward-wizard', status: 301 },
'/news/biomeddata-kicked-off-today': { destination: '/news/2020/biomeddata-kicked-off-today', status: 301 },
'/news/elixir-builds-capacity-in-performance-and-impact-evaluation': { destination: '/news/2020/elixir-builds-capacity-in-performance-and-impact-evaluation', status: 301 },
'/news/elixir-converge-a-new-project-to-streamline-data-management-practices': { destination: '/news/2020/elixir-converge-a-new-project-to-streamline-data-management-practices', status: 301 },
'/news/elixir-norway-all-hands-2020-goes-digital': { destination: '/news/2020/elixir-norway-all-hands-2020-goes-digital', status: 301 },
'/news/elixir-norway-has-a-new-training-coordinator': { destination: '/news/2020/elixir-norway-has-a-new-training-coordinator', status: 301 },
'/news/elixir-norway-hosts-analysis-workflows-for-sars-cov-2-sequence-data': { destination: '/news/2020/elixir-norway-hosts-analysis-workflows-for-sars-cov-2-sequence-data', status: 301 },
'/news/elixir-norway-modellers-propose-covid-19-testing-scheme': { destination: '/news/2020/elixir-norway-modellers-propose-covid-19-testing-scheme', status: 301 },
'/news/elixir-open-science-and-covid-19': { destination: '/news/2020/elixir-open-science-and-covid-19', status: 301 },
'/news/feide-access-to-elixir-norway-data-management-tool-dsw': { destination: '/news/2020/feide-access-to-elixir-norway-data-management-tool-dsw', status: 301 },
'/news/five-nels-galaxy-instances-merge-into-one-in-october-2020': { destination: '/news/2020/five-nels-galaxy-instances-merge-into-one-in-october-2020', status: 301 },
'/news/how-open-databases-turn-out-to-be-crucial-in-the-fight-against-covid-19': { destination: '/news/2020/how-open-databases-turn-out-to-be-crucial-in-the-fight-against-covid-19', status: 301 },
'/news/interested-in-contributing-a-bioinformatics-service-to-elixir': { destination: '/news/2020/interested-in-contributing-a-bioinformatics-service-to-elixir', status: 301 },
'/news/join-elixir-europe-survey': { destination: '/news/2020/join-elixir-europe-survey', status: 301 },
'/news/kick-off-meeting-for-biomeddata-ri-pals': { destination: '/news/2020/kick-off-meeting-for-biomeddata-ri-pals', status: 301 },
'/news/metapipe-is-now-operational': { destination: '/news/2020/metapipe-is-now-operational', status: 301 },
'/news/nok-50-million-for-new-5-year-period-for-the-centre-for-digital-life-norway': { destination: '/news/2020/nok-50-million-for-new-5-year-period-for-the-centre-for-digital-life-norway', status: 301 },
'/news/our-sars-cov-2-database-and-portal-have-been-launched': { destination: '/news/2020/our-sars-cov-2-database-and-portal-have-been-launched', status: 301 },
'/news/the-new-norwegian-covid19-data-portal-enhances-access-to-critical-knowledge': { destination: '/news/2020/the-new-norwegian-covid19-data-portal-enhances-access-to-critical-knowledge', status: 301 },
'/news/usegalaxyno-is-now-in-production': { destination: '/news/2020/usegalaxyno-is-now-in-production', status: 301 },
'/news/we-have-a-winner-of-our-user-survey-prize-draw': { destination: '/news/2020/we-have-a-winner-of-our-user-survey-prize-draw', status: 301 },
'/news/workshop-series-at-all-elixir-nodes-in-data-management-for-life-science-projects': { destination: '/news/2020/workshop-series-at-all-elixir-nodes-in-data-management-for-life-science-projects', status: 301 },
'/news/ai-and-protein-folding': { destination: '/news/2021/ai-and-protein-folding', status: 301 },
'/news/alphafold2-and-rosettafold-workshop': { destination: '/news/2021/alphafold2-and-rosettafold-workshop', status: 301 },
'/news/biomeddata-report-on-data-management-plan-needsgaps': { destination: '/news/2021/biomeddata-report-on-data-management-plan-needsgaps', status: 301 },
'/news/biomeddata-starts-work-on-domain-specific-dmp-guidance-in-norway': { destination: '/news/2021/biomeddata-starts-work-on-domain-specific-dmp-guidance-in-norway', status: 301 },
'/news/by-covid-a-new-eu-project-for-pandemic-preparedness': { destination: '/news/2021/by-covid-a-new-eu-project-for-pandemic-preparedness', status: 301 },
'/news/continued-funding-to-elixir-norway': { destination: '/news/2021/continued-funding-to-elixir-norway', status: 301 },
'/news/drop-in-bioinformatics-support-in-oslo-every-wednesday': { destination: '/news/2021/drop-in-bioinformatics-support-in-oslo-every-wednesday', status: 301 },
'/news/eight-new-services-join-the-service-delivery-plan-of-elixir-norway': { destination: '/news/2021/eight-new-services-join-the-service-delivery-plan-of-elixir-norway', status: 301 },
'/news/elixir-converge-receives-second-uplift-for-covid-19-variant-surveillance': { destination: '/news/2021/elixir-converge-receives-second-uplift-for-covid-19-variant-surveillance', status: 301 },
'/news/elixir-norway-all-hands-2021-face-to-face': { destination: '/news/2021/elixir-norway-all-hands-2021-face-to-face', status: 301 },
'/news/elixir-norway-broker-data-to-ena': { destination: '/news/2021/elixir-norway-broker-data-to-ena', status: 301 },
'/news/elixir-norway-webinar-on-data-management-requirements': { destination: '/news/2021/elixir-norway-webinar-on-data-management-requirements', status: 301 },
'/news/elixir-norway-wiki-for-end-users': { destination: '/news/2021/elixir-norway-wiki-for-end-users', status: 301 },
'/news/fairification-of-genomic-tracks': { destination: '/news/2021/fairification-of-genomic-tracks', status: 301 },
'/news/fairtracks-included-as-an-elixir-recommended-interoperability-resource': { destination: '/news/2021/fairtracks-included-as-an-elixir-recommended-interoperability-resource', status: 301 },
'/news/new-norwegian-bioinformatics-services-promoted-by-elixir-norway': { destination: '/news/2021/new-norwegian-bioinformatics-services-promoted-by-elixir-norway', status: 301 },
'/news/new-version-of-salmobase-online': { destination: '/news/2021/new-version-of-salmobase-online', status: 301 },
'/news/norske-sars-cov-2-gensekvenser-na-fritt-tilgjengelig-gjennom-den-apne-genbanken-ena': { destination: '/news/2021/norske-sars-cov-2-gensekvenser-na-fritt-tilgjengelig-gjennom-den-apne-genbanken-ena', status: 301 },
'/news/norwegian-sars-cov-2-sequences-now-openly-available-in-ena': { destination: '/news/2021/norwegian-sars-cov-2-sequences-now-openly-available-in-ena', status: 301 },
'/news/online-course-by-elixir-norway-using-the-norwegian-e-infrastructure-for-life-science-and-usegalaxyno': { destination: '/news/2021/online-course-by-elixir-norway-using-the-norwegian-e-infrastructure-for-life-science-and-usegalaxyno', status: 301 },
'/news/online-course-data-management-planning-december-6-7': { destination: '/news/2021/online-course-data-management-planning-december-6-7', status: 301 },
'/news/online-course-data-management-planning-june-15-16': { destination: '/news/2021/online-course-data-management-planning-june-15-16', status: 301 },
'/news/online-course-data-management-planning-september-7-8': { destination: '/news/2021/online-course-data-management-planning-september-7-8', status: 301 },
'/news/online-course-genome-assembly-and-annotation': { destination: '/news/2021/online-course-genome-assembly-and-annotation', status: 301 },
'/news/open-access-week-2021': { destination: '/news/2021/open-access-week-2021', status: 301 },
'/news/open-data-a-driving-force-for-innovation-in-the-life-sciences': { destination: '/news/2021/open-data-a-driving-force-for-innovation-in-the-life-sciences', status: 301 },
'/news/program-for-elixir-norway-all-hands-19-21-october': { destination: '/news/2021/program-for-elixir-norway-all-hands-19-21-october', status: 301 },
'/news/rdmkit-tool-assembly-contentathons-biohackathon-2021': { destination: '/news/2021/rdmkit-tool-assembly-contentathons-biohackathon-2021', status: 301 },
'/news/register-for-the-elixir-norway-all-hands-meeting-in-bergen': { destination: '/news/2021/register-for-the-elixir-norway-all-hands-meeting-in-bergen', status: 301 },
'/news/research-data-management-now-made-simpler-by-the-rdmkit': { destination: '/news/2021/research-data-management-now-made-simpler-by-the-rdmkit', status: 301 },
'/news/successful-webinar-on-data-management-requirements': { destination: '/news/2021/successful-webinar-on-data-management-requirements', status: 301 },
'/news/biomeddata-face2face-meeting': { destination: '/news/2022/biomeddata-face2face-meeting', status: 301 },
'/news/data-management-in-practice-with-fairdom-seek': { destination: '/news/2022/data-management-in-practice-with-fairdom-seek', status: 301 },
'/news/elixir-norway-data-management-workshop': { destination: '/news/2022/elixir-norway-data-management-workshop', status: 301 },
'/news/elixir-norway-has-signed-the-federated-ega-collaboration-agreement': { destination: '/news/2022/elixir-norway-has-signed-the-federated-ega-collaboration-agreement', status: 301 },
'/news/fair-data-management-in-life-sciences-14-16-june-2022': { destination: '/news/2022/fair-data-management-in-life-sciences-14-16-june-2022', status: 301 },
'/news/federico-bianchini-elected-as-board-member-of-the-uio-data-managers-network': { destination: '/news/2022/federico-bianchini-elected-as-board-member-of-the-uio-data-managers-network', status: 301 },
'/news/genomic-data-infrastructure-eu-launch': { destination: '/news/2022/genomic-data-infrastructure-eu-launch', status: 301 },
'/news/genomic-data-infrastructure-eu-launch-no': { destination: '/news/2022/genomic-data-infrastructure-eu-launch-no', status: 301 },
'/news/global-biodata-coalition-announces-the-first-set-of-global-core-biodata-resources': { destination: '/news/2022/global-biodata-coalition-announces-the-first-set-of-global-core-biodata-resources', status: 301 },
'/news/job-opportunity-postdoc-linked-with-the-norwegian-part-of-the-earth-biogenome-project': { destination: '/news/2022/job-opportunity-postdoc-linked-with-the-norwegian-part-of-the-earth-biogenome-project', status: 301 },
'/news/life-science-data-management-planning-workshop-sep-26-sep-27': { destination: '/news/2022/life-science-data-management-planning-workshop-sep-26-sep-27', status: 301 },
'/news/life-science-einfra-training-nov': { destination: '/news/2022/life-science-einfra-training-nov', status: 301 },
'/news/nordic-train-the-trainer-course-may-10-13': { destination: '/news/2022/nordic-train-the-trainer-course-may-10-13', status: 301 },
'/news/please-contact-us-under-support-at-elixir-no': { destination: '/news/2022/please-contact-us-under-support-at-elixir-no', status: 301 },
'/news/the-new-service-immuneml-uses-patterns-among-our-immune-receptors-to-diagnose-diseases': { destination: '/news/2022/the-new-service-immuneml-uses-patterns-among-our-immune-receptors-to-diagnose-diseases', status: 301 },
'/news/virtual-meeting-handling-pandemic-omics-data-in-the-nordics': { destination: '/news/2022/virtual-meeting-handling-pandemic-omics-data-in-the-nordics', status: 301 },
'/news/webinar-new-feature-in-the-data-stewardship-wizard': { destination: '/news/2022/webinar-new-feature-in-the-data-stewardship-wizard', status: 301 },
'/news/elixir-norway-engineer-positions-bergen': { destination: '/news/2023/elixir-norway-engineer-positions-bergen', status: 301 },
'/news/job-vacancy-senior-engineer-bioinformatician-at-oslo-university-hospital': { destination: '/news/2023/job-vacancy-senior-engineer-bioinformatician-at-oslo-university-hospital', status: 301 },
'/news/life-science-data-management-planning-workshop': { destination: '/news/2023/life-science-data-management-planning-workshop', status: 301 },
'/news/national-stakeholder-meeting-on-life-science-data-management-in-norway': { destination: '/news/2023/national-stakeholder-meeting-on-life-science-data-management-in-norway', status: 301 },
'/news/norwegian-life-science-data-agreement': { destination: '/news/2023/norwegian-life-science-data-agreement', status: 301 },
'/news/postdoctoral-position-in-comparative-cancer-genetics-in-dogs': { destination: '/news/2023/postdoctoral-position-in-comparative-cancer-genetics-in-dogs', status: 301 },
'/news/sweden-adds-a-national-pathogens-portal-to-the-network': { destination: '/news/2023/sweden-adds-a-national-pathogens-portal-to-the-network', status: 301 },
'/news/webinar-open-data-requirements-for-life-science-projects': { destination: '/news/2023/webinar-open-data-requirements-for-life-science-projects', status: 301 },
'/news/elixir4-celebration': { destination: '/news/2024/elixir4-celebration', status: 301 },
'/news/first-datasets-from-norway-are-now-in-the-federated-ega-network': { destination: '/news/2024/first-datasets-from-norway-are-now-in-the-federated-ega-network', status: 301 },
'/news/life-science-rdm-group-event-the-data-steward-job-role-in-the-norwegian-public-sector': { destination: '/news/2024/life-science-rdm-group-event-the-data-steward-job-role-in-the-norwegian-public-sector', status: 301 },
'/news/the-data-steward-job-role-in-the-norwegian-public-sector': { destination: '/news/2024/the-data-steward-job-role-in-the-norwegian-public-sector', status: 301 },
'/news/workpackage-2-face-2-face-2024': { destination: '/news/2024/workpackage-2-face-2-face-2024', status: 301 },
'/news/ahm-europe': { destination: '/news/2025/ahm-europe', status: 301 },
'/news/call-for-services': { destination: '/news/2025/call-for-services', status: 301 },
'/news/charm-eu-open-science-recognition-award': { destination: '/news/2025/charm-eu-open-science-recognition-award', status: 301 },
'/news/elitma': { destination: '/news/2025/elitma', status: 301 },
'/news/elixir-industry-engagement-day': { destination: '/news/2025/elixir-industry-engagement-day', status: 301 },
'/news/eosc-entrust-workshop': { destination: '/news/2025/eosc-entrust-workshop', status: 301 },
'/news/nels-scheduled-maintenance-november': { destination: '/news/2025/nels-scheduled-maintenance-november', status: 301 },
'/news/jaspar-cdr': { destination: '/news/2026/jaspar-cdr', status: 301 },
},
// Enable React to support React JSX components.
integrations: [
mdx({
rehypePlugins: [
rehypeHeadingIds,
[rehypeRelativeAssets],
]
}),
react(),
tailwind(),
sitemap({ filter: (page) => !page.includes('/admin') }),
],
vite: {
css: {
transformer: "sass"
},
plugins: [copyContentAssets()],
},
output: "static",
});