This is the source for the SMU Researcher Club website. It's built with Quarto (a document/website publishing tool) and hosted on GitHub Pages.
This README is a step-by-step guide for adding a new event to the site — written so you can do
it even if you've never touched Quarto before. If anything is unclear, the existing files in
events/ are the best examples to copy from.
- Every event is a single text file in the
events/folder, ending in.qmd. - Add a new
.qmdfile there, and it automatically appears in two places — no other edits needed:- The Activities page (the full, filterable list)
- The Recent activities strip on the homepage (shows the 3 newest by date)
- After adding the file, you preview it locally to check it looks right, then publish it so the live site updates.
That's the whole workflow. The rest of this document is the detail.
You only do this once on your computer.
- Install Quarto — download from quarto.org/docs/get-started and run the installer. (RStudio is not required — you can use any text editor, e.g. VS Code.)
- Install Git if you don't have it — git-scm.com.
- Get the project files. In a terminal:
(If you already have the folder, run
git clone https://github.com/smu-libraries/smurc.git cd smurcgit pullinside it to get the latest version first.)
The easiest and safest way. Duplicate any file in events/ and rename it. For example, copy
events/2025-05-29-inside-research-careers.qmd to a new name.
Filename format: YYYY-MM-DD-short-title.qmd
- Start with the event date (
2026-03-15), then a few words describing it, all lowercase, joined by hyphens. - Examples:
2026-03-15-latex-for-thesis.qmd,2026-09-01-grant-writing-panel.qmd - The date in the filename is just for tidy ordering — the date that actually matters is in the file (Step 2).
The block between the two --- lines at the very top controls how the event is listed. Edit each
field:
---
title: "Your Event Title Here"
description: "One or two sentences summarising the event. This shows up in the listing."
date: 2026-03-15
categories: [2026, workshop, tools]
author: "SMU Researcher Club"
---| Field | What to put |
|---|---|
title |
The event name, in quotes. |
description |
A short summary (1–2 sentences). Appears under the title in the listing. |
date |
The event date in YYYY-MM-DD format. No quotes. This drives sorting. |
categories |
Tags in square brackets, comma-separated. See conventions below. |
author |
Leave as "SMU Researcher Club". |
⚠️ Keep the two---lines. They mark the start and end of the settings block. Don't delete them.
Below the front matter is the page content. Keep the same structure as the other events so the site stays consistent:
- An At a glance table (date, time, venue, format)
- An About this session paragraph or two
- A Speakers / Panellists list, if any
- Optionally a Resources section for recording/recap links
The simplest approach: keep the copied file's layout and just replace the words. A ready-to-fill template is at the bottom of this README.
From the project folder, run:
quarto previewThis opens the site in your browser and refreshes automatically as you save. Check that:
- Your new event shows on the Activities page and (if it's recent) the homepage.
- The date, title, and links look right.
Press Ctrl + C in the terminal to stop the preview when done.
Two things happen here: save your change to the project history, then push the built site live.
git add .
git commit -m "Add event: your event title"
git push
quarto publish gh-pages- The first three lines save your new file to the shared project (
mainbranch on GitHub). quarto publish gh-pagesbuilds the site and pushes it to the live GitHub Pages address. When it asks to confirm, say yes.
Give it a minute or two, then check the live site.
Categories power the filter buttons on the Activities page, so consistency matters — reuse
existing tags rather than inventing near-duplicates. Each event's categories list should include:
- The year (always) — e.g.
2026 - The event type — one of:
panel,workshop,webinar,talks,seminar - A series tag (only if it belongs to a series) — e.g.
publication-series,ai-tools-series,try-it-together - Topic tags (optional, as many as fit) — e.g.
ai-tools,professional-development,writing-bootcamp,tools,commercialisation,networking,citations
Example: categories: [2026, panel, professional-development]
💡 To see tags already in use, glance at the top of a few files in
events/and match their spelling exactly (tags are case- and spelling-sensitive:ai-tools≠AI Tools).
Adding an event image — put this line just under the front matter:
You can link to an image hosted online, or drop an image file in the project and reference it by filename.
Coloured info boxes (callouts) — like the "Part of the … Series" notes:
::: {.callout-note}
Your note text here.
:::A link — [text to show](https://the-url.com)
Copy everything below into a new events/YYYY-MM-DD-your-title.qmd file and replace the
placeholders:
---
title: "EVENT TITLE"
description: "One or two sentences summarising the event."
date: 2026-01-01
categories: [2026, workshop, tools]
author: "SMU Researcher Club"
---
## At a glance
| | |
|--------------|-----------------------------------------------|
| **Date** | Day, DD Month 2026 |
| **Time** | 0:00 AM – 0:00 PM |
| **Venue** | Venue name |
| **Format** | Workshop / Panel / Webinar |
## About this session
Describe the event here.
## Speakers
- **Speaker Name** — Title, Organisation
<!-- Add slides, recordings, or a write-up here after the event. -->- Preview shows an error — most often a typo in the front matter. Check that the two
---lines are intact,dateis inYYYY-MM-DDform with no quotes, and every"has a matching pair. - Event isn't showing — make sure the file is inside
events/, ends in.qmd, and has a validdate. - Stuck? The existing files in
events/are all working examples — copy one that resembles the event you're adding.