The Vallejos Group Website


Our group website

Table of Contents

About

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.

Making Edits to Our Site ✏️

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.

New Members 👩‍🔬👨‍🔬

Welcome to the group! Follow these steps to add your profile:

  1. Clone the repository:

    git clone https://github.com/VallejosGroup/VallejosGroup.github.io.git
    
  2. Add a 3:4 aspect ratio image to public/assets/members:

    • Use tools like Photoshop or online crop tools. Images must be in .jpg, .png, or directly uploaded as .webp.
  3. Add your profile in src/content/members/:

    • Create a markdown file for your profile in src/content/members/.
  4. 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.

Adding News posts :newspaper:

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:

  1. Create a new markdown file in src/content/news/.

  2. 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.
    
  3. Write your content in markdown format below the metadata.

  4. Commit and push your changes:

    git add -A
    git commit -am "Add news post about something"
    git push -u origin main
    

Adding Publications 📚

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 Setup 💻

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.

jekyll logo

Want a Jekyll website built?

Hire a Jekyll developer