This repository contains the AMIGO lab website built with Hugo and the HugoBlox/Wowchemy content model.
Most day-to-day edits happen in the content/ directory:
content/authors/contains team member profiles.content/project/contains project pages.content/people/index.mdcontrols which profile groups appear on the People page.content/_index.mddefines the homepage sections.
Do not edit public/ directly. It is generated output.
Install Hugo Extended if it is not already available on your machine.
Run the local development server from the repository root:
hugo serverThen open the local URL printed by Hugo, usually http://localhost:1313/.
To build the production site locally:
hugoEach person has their own folder under content/authors/.
Example:
content/authors/YourName/
├── _index.md
└── avatar.jpg
Create a new folder inside content/authors/. Use a short, stable folder name because it becomes part of the page path.
Examples already in the site:
content/authors/Yovin/content/authors/Alex/
Create content/authors/YourName/_index.md with front matter similar to this:
---
title: Your Name
first_name: Your
last_name: Name
superuser: false
role: PhD Student
organizations:
- name: King's College London
url: 'https://www.kcl.ac.uk/'
interests:
- Medical Imaging
- Artificial Intelligence
social:
- icon: envelope
icon_pack: fas
link: 'mailto:your.email@kcl.ac.uk'
- icon: linkedin
icon_pack: fab
link: https://www.linkedin.com/in/your-profile/
- icon: google-scholar
icon_pack: ai
link: https://scholar.google.com/citations?user=YOUR_ID
email: ''
highlight_name: false
user_groups:
- PhD Students
---
Write a short biography here in Markdown.Notes:
titleis the display name shown on the site.first_nameandlast_nameare used for sorting and metadata.superusershould usually befalse. Keep ittrueonly when there is a specific reason.user_groupsdetermines where you appear on the People page.- Current People page groups are:
Principal Investigators,Researchers,PhD Students,Administration,Visitors, andAlumni. - The biography is the text below the front matter.
Place your image in the same folder as _index.md and name it avatar with the correct extension, for example:
content/authors/YourName/avatar.jpgcontent/authors/YourName/avatar.png
Use a square or near-square headshot when possible.
Run hugo server and check:
- your People page entry,
- your individual profile page,
- your image,
- your links and biography formatting.
Edit your existing file in content/authors/<YourFolder>/_index.md.
Common updates:
- Change
rolewhen your position changes. - Update
organizationsif you move institution. - Add or remove
interests. - Update
sociallinks. - Move yourself between
user_groups, for example fromPhD StudentstoAlumni. - Revise the biography text below the front matter.
If you want to replace your photo, keep the same filename if possible and overwrite the existing avatar.* file.
Each project has its own folder under content/project/.
Example:
content/project/your-project/
├── featured.png
└── index.md
Add a new folder under content/project/ using a short slug, for example my-new-project.
Create content/project/my-new-project/index.md using this pattern:
---
title: My New Project
summary: One-sentence description of the project
tags:
- Collaborative Research
authors:
- AMIGO
show_date: false
share: false
external_link: ''
image:
caption: My New Project
focal_point: Smart
links:
- icon: globe
icon_pack: fas
name: Website
url: https://example.org
- icon: github
icon_pack: fab
name: Code
url: https://github.com/example/repo
url_code: ''
url_pdf: ''
url_slides: ''
url_video: ''
slides: ''
---
Write the project description here in Markdown.Notes:
summaryis used in project cards and listings.tagsare optional but useful for grouping.authorscan stay asAMIGOunless there is a reason to use a different label.- Add useful links under
links. - The body text can include headings, lists, images, and normal Markdown links.
Place a featured image in the same folder, typically:
content/project/my-new-project/featured.pngcontent/project/my-new-project/featured.jpg
This image is used by the project card and the project page.
Run hugo server and verify:
- the project appears on the Projects page,
- the summary looks correct,
- the featured image renders properly,
- all external links work.
Edit the relevant file in content/project/<project-slug>/index.md.
Typical updates include:
- changing the title or summary,
- updating project links,
- refreshing the description,
- replacing the featured image,
- adding new sections such as publications, collaborators, or usage notes.
If the project already has a published URL, keep the folder name stable unless you intentionally want the page path to change.
- Do not edit files inside
public/. - Do not rename author or project folders casually, because that changes page URLs.
- Keep YAML indentation consistent. Use spaces, not tabs.
- Make sure front matter starts and ends with
---. - Put images in the same folder as the content file when they belong to one profile or one project.
- Check the page locally before opening a pull request.
- Hugo: https://gohugo.io/
- HugoBlox docs: https://docs.hugoblox.com/
- Existing author example:
content/authors/Yovin/_index.md - Existing project example:
content/project/monai/index.md