Most markdown for the content of the website is in /content
. Each webpage has its own directory. Each of these directories contain a single index.md
that determines whether the webpage’s content is based on a single markdown file (the body of index.md
) or is assembled from a series of “widgets” that are specified by seperate markdown files in the same directory. The order of widgets as they will appear on the rendered webpage is specified by weight:
in the frontmatter of each of these files. Widgets can be hidden by setting active: false
in its frontmatter.
Images and movies can be included using html within the body of each page or included by setting attributes specific to a particular widget. With some exceptions, images are stored in /assets/media
. For instructions on how to reference media, see here.
Everything that is pushed or merged with the main
branch will automatically trigger a workflow that will render the page using the gh-pages
branch. The only purpose of gh-pages
is for that workflow to function. If you are interested, the workflow is specified in .github/workflows/gh-pages.yml
. Please do not push to either of these branches directly, and please do not issue a pull request to the gh-pages
branch.
For small edits just edit the relevant markdown file directly on github (see possibility 3 below). It is safer to create a pull request than to commit directly to main since a pull request will determine conflicts without interrupting other progress.
For larger edits there are three possibilities:
hugo server -D
(it quickly rebuilds the local view whenever you save a change)main
branch of the origin acm-rep/2025
repository. This will create a Netlify preview within the pull request. Any additional pushes to the pull request’s branch will update the preview.Using VS Code for the Web: By replacing .com
in the github repository’s web address with .dev
, one can use Visual Studio Code for the Web. This allows creating branches, committing updates, creating pull requests, and merging them without any local environment.