Our group website
Our website is now an Astro site, featuring a modern, responsive design powered by Tailwind CSS.
If you have any questions or need help, feel free to contact me (Nathan/@nathansam), or create a branch and open a pull request tagging me.
The website is hosted at https://vallejosgroup.github.io.
Astro is a static site generator optimised for performance. The contents of this repository are used to generate the final HTML, CSS, and JavaScript needed for the website.
Edits are made via GitHub Actions, so you don't need to build the site locally. Just push changes to the main
or master
branch, and the action will build and deploy the site.
Welcome to the group! Follow these steps to add your profile:
Clone the repository:
git clone https://github.com/VallejosGroup/VallejosGroup.github.io.git
Add a 3:4 aspect ratio image to public/assets/members
:
.jpg
, .png
, or directly uploaded as .webp
.Add your profile in src/content/members/
:
src/content/members/
.Commit and push changes:
git add -A
git commit -am "Add my profile"
git push -u origin main
View the deployment status in the Actions tab.
News posts are managed in the src/content/news/
directory. Each post is a markdown file with metadata at the top. Here's how to add a new post:
Create a new markdown file in src/content/news/
.
Add metadata at the top of the file:
---
title: Your News Title
date: 2024-01-01 12:00:00-0000
inline: false
---
Your news content goes here.
Write your content in markdown format below the metadata.
Commit and push your changes:
git add -A
git commit -am "Add news post about something"
git push -u origin main
Publications are managed via a BibTeX file at public/assets/papers.bib
. Add your publication record here, along with optional fields like abstract
. PDF hosting is supported in public/assets/pdfs
.
Local development requires node
and npm
. Clone the repository and set it up:
npm install
npm run dev
This will start a local development server with hot reloading. You can view live changes as you edit the site.
Note: Partial edits or configuration updates might require restarting the development server.