Install Hugo, following the steps at https://gohugo.io/installation/ This website was built using Hugo v0.161.1
To see the website locally, run
hugo server
and navigate to the URL, usually http://localhost:1313/.
After the changes have been made, commit them onto a new branch, and create a PR to merge the content into main.
The GitHub workflows will automatically deploy the new version of the website.
You can also use Docker to do this (recommended). Simply run
docker compose build
to build the image, and then to run the container
This will build the image (if necessary) and start the server. It will print a clickable link to `http://localhost:1313/` directly in your terminal. Updates made to the local repo should automatically get rendered.
If you prefer to run the container in the background, use:
```bash
docker compose up -d
You can then view the logs to see the clickable link by running:
docker compose logs -f hugoTo add a new person, starting from the root directory, run
hugo new content people/id.md
where id must be replaced by the id you want to create.
Navigate to /content/people/id.md and edit the front matter.
After the front matter, you can add more details. These will be rendered on dasc-lab.github.io/people/id page.
Similarly, to add a paper, run
hugo new content papers/id.md
and then edit /contents/papers/id.md. Again, you can add more info after the front matter, to have it render on the individual page.
If you link the author id correctly, each author's page will be automatically updated to include all the papers too.
Create /content/projects/id.md (see caams.md or cps.md for the front matter). Give it a short key, e.g. key: CAAMS.
To attach a paper to a project, add the key to the paper's front matter:
funding: CAAMS
or, for several projects, funding: [CAAMS, CPS]. The paper then shows up on the project page automatically, and so does its first author (plus any co-first authors marked with *) if they have a /people/id page, split into current members and alumni.
People who should appear on a project without being first author of a tagged paper can be added to the project's people: list; the PI goes in pi:.
To hide a first author who shouldn't be listed on a project (e.g. a co-first author or external collaborator), add their people-page id, or their name exactly as written in the paper, to the project's exclude_people: list.
Add a repository under content/code/ with title, date, and code (the GitHub URL).
Add an interactive demo under content/demos/ with title, weight, demo (the live URL),
image (a local /images/ asset), description, and paper (the related lab paper path).
Use GIF previews from the Live Web Demo section of https://www.taekyung.me/.
Add demo to a paper's front matter to show the link on publication lists and project pages.
When separate publications share an arXiv identifier, use versioned URLs to preserve the correct title and author list for the earlier publication.
This website uses bootstrap https://getbootstrap.com/ v5.3.3 to create styles.
To customize additional css, edit /layouts/partials/style.html.
To customize how the person and papers render, edit /layouts/partials/person-card or /layouts/partials/paper-card.
- add search functionality
- add news
- fix homepage
- add in maths functionality