60 lines
1.4 KiB
Raw Permalink Normal View History

2023-12-08 16:00:11 +01:00
IRS Software Website
This website shows the software projects of the satellite division at the Institute of Space
Systems of the University of Stuttgart.
# Development
## Prerequisites
1. Install [hugo](
2. Install [node](
## Building the website
1. Install the npm dependencies first.
npm install
2. Build the website locally.
hugo serve --open
## Generating the website
The website can be built into the `public` folder by running
2023-12-11 15:46:39 +01:00
## Adding a page
A new page can be added by adding a new page (bundle) inside the projects directory by creating
a new folder inside the `/content/projects` directory containing an `` or ``.
The home page will display the summary parameter of the page bundle front matter. A small logo
used for the homepage display can be specified in the front matter by adding a `logo` page
resource and specifying the image source relative to the diretory. Custom CSS has to be
specified via the `homeLogoCss` variable as shown in the block below:
homeLogoCss = "satrs-img"
name = "logo"
src = "sat-rs_logo.png"
Alternatively, you can specify a text only header using the `homeSummaryHeader` parameter:
homeSummaryHeader = "spacepackets"
The home page template found in `layouts/index.html` will collect all pages inside the
`content/projects` folder and render them accordingly.