You can make simple changes in the GitHub editor. For more advanced changes you might want to run a local copy of the website.
Some basic git knowledge is required, please check https://guides.github.com/ to get started from scratch. An editor such as Visual Studio Code can help you to simplify most of these tasks and help you with editing the content.
- Install hugo
- Create a fork of this repository
- Clone your fork
- Run
hugo server -D
in the root directory of your fork - Open the shown URL
http://localhost:xxxx/
in your browser to preview your local version - Make changes until you are satisfied; the preview will update automatically
- Commit and push your changes
- Create a pull request
- Create a
new-member-name.yaml
in thedata/members
folder. - Create a
new-member-name.md
in thecontent/members
folder. - Add the logo in SVG format in the folder
assets/images/members
, the filename must correspondent with id of the member (e.g.,member.svg
)
- For member authors, add a representative in the
data/members/member.yaml
file. - For authors that are not associated with a member, add a listing in
data/authors.yaml
.
The content lives in content/
and is written as markdown because of it's simple content format. We do not allow the usage of HTML, this to enforce uniform and structured content, but there are times when Markdown falls short. For some of these reusable cases you can use built-in shortcodes or use/create a custom shortcode.
You can add attributes (e.g. CSS classes) to Markdown blocks, e.g. tables, lists, paragraphs etc.
A blockquote with a CSS class:
> **Warning**
> This is an important message
{.callout-warning}
All Bootstrap styles are available, to change the default table style you can use for example the following attributes:
| table header | column |
| ------------ | ------ |
| first row | |
| second row | |
{.table .table-bordered .table-striped .table-hover}
Some content is managed in external repositories through git submodules, include the remote remote branch in your local preview run the following command.
git submodule init
git submodule update --remote
The update command can be run to update your local copy when the remote branch changes. Submodules are managed in the file .gitmodules.