Based on hagura-sveltekit and deployed to Netlify.
- Header and Footer sitemap links come from
./src/routes/pages.json
- Footer contact links come from
./src/routes/contact.json
- Edit
./src/routes/[home|about|collaborate].md
Each of these pages follows the same method:
- A layout described in the
./src/layouts
folder. - Corresponding Markdown files in each folder
./src/routes/[page]/*.md
for the page items (team members, research projects, Open Labs, and news items).
Once you understand how one of these pages works, you will be able to understand the rest.
For example, this is how you would add/edit team members, and the team page itself:
- To add a new member, create a file in
./src/routes/team/[firstname].md
- See other members in the same
team
folder for examples. - The order they appear on the page with is described in
./src/routes/team/order.json
- To edit the page itself, go to
./src/layouts/Team.svelte
The idea here is that we have a single .bib
file that we maintain, which the website uses to auto-populate our Publications page. However there's a couple of technical issues to clear before this is solid (#3).
Run the following commands.
git clone https://github.com/intelligent-instruments-lab/iil/is
Use node 16 (install node
if you don't already have it)
npm install
or npm i
to install
npm run dev
for development (for running locally)
npm run build
for production
npm run preview
to preview a production build