1
0
Fork 0
mirror of synced 2025-12-08 01:03:25 +01:00
Strolch's Website
Find a file
Robert von Burg 463a35e4aa
[New] Enhance open API spec with additional endpoints
Added new audit query endpoint with filtering and pagination support. Updated privilege user endpoints to use `userId` instead of `username` for consistency. Improved descriptions and parameter details across the specification.
2025-05-22 11:24:00 +02:00
.github/workflows [Project] Upgrade upload-pages-artifact action to v3 2025-03-03 13:57:49 +01:00
content [Minor] Update Maven archetype version to 0.4.0 2025-04-09 15:03:09 +02:00
layouts [New] Add Swagger UI bundle for API documentation 2025-03-04 10:36:39 +01:00
static [New] Enhance open API spec with additional endpoints 2025-05-22 11:24:00 +02:00
themes/hugo-theme-learn [New] Added mascot 2022-12-08 13:21:03 +01:00
.gitignore [New] Update to Java 23, Strolch 2.5.0, and add new XSD files 2025-03-06 11:17:15 +01:00
CNAME [Project] Initial Commit 2021-07-11 20:36:03 +02:00
config.toml [Project] Renamed published directory to public 2023-07-18 08:33:56 +02:00
README.md [Project] Initial Commit 2021-07-11 20:36:03 +02:00

Strolch website

GoHugo

This website is created with the static site generator Hugo.

Theme

Uses the Hugo-theme-learn.

Special layout components are explained on learn.netlify.app/en/shortcodes.

Additional tools

https://www.liwen.id.au/heg/#gallery-usage https://github.com/liwenyip/hugo-easy-gallery/

Example use:

{{< gallery >}}
{{< figure link="/assets/... .png" caption="" caption-position="center" caption-effect="fade" >}}
{{< figure link="/assets/... .png" caption="" caption-position="center" caption-effect="fade" >}}
{{< figure link="/assets/... .png" caption="" caption-position="center" caption-effect="fade" >}}
{{< /gallery >}}
{{< load-photoswipe >}}

The last line only must be added once per page if multiple galleries are used.

Text format

All pages are separate md-files inside the content directory. The formatting of the text needs to use the rules specified in commonmark.org.

Test locally

To test the site locally, first install Hugo as described on "Install Hugo".

Example, for Mac:

brew install hugo

To run the site, open the terminal in the directory with the sources of this site and run the following command:

cd strolch.li
hugo serve

The website is now available on localhost:1313.

Build and run on GitHub Pages

Using a GitHub Action, the site is published on each commit into the main branch of this repository.

The "docs" directory is auto-generated by this GitHub Action so should never be manually touched. This directory is pushed to GitHub Pages.

This process is described here: