An online gallery for the works of Kerstin Reimers. Hosted on kerstinreimers.de.
If you would like to contribute to the site, you can do so by creating a pull request.
For development purposes, you can run the site locally using Hugo. To do so, you need to have Hugo installed on your machine. You can find instructions on how to install Hugo here.
The site is deployed using Cloudflare Pages.
A pull request triggers a preview deployment. The result can be viewed by following the link provided in the pull request.
The deployment is triggered automatically when changes are pushed to the main
branch.
Cloudflare doesn't support buying .de
domains. But it's possible to add a .de
domain to Cloudflare if it's already bought from another provider as long as the provider allows control over the external name server settings.
-
Add Domain
- Add your domain to Cloudflare.
- Ensure you have control over the external name server settings.
-
Create Deployment
- Navigate to Workers & Pages in Cloudflare.
- Create a new deployment and choose the repository and branch to deploy from.
- Cloudflare will automatically connect to the repository and initialize the deployment setup.
-
Adjust Deployment Settings
- Change Build Command
- Set the build command to a custom command:
hugo -b $CF_PAGES_URL
. - This changes the base URL, ensuring that media files are loaded correctly, especially for preview deployments.
- Set the build command to a custom command:
- Set Environment Variables
- Override
CF_PAGES_URL
forProduction
environment- Add a variable
CF_PAGES_URL
inProduction
environment settings. - The value should be the domain name, e.g.,
https://kerstinreimers.de
.
- Add a variable
- Set
HUGO_VERSION
- Add a variable
HUGO_VERSION
inProduction
environment settings - Add a variable
HUGO_VERSION
inPreview
environment settings - The value should be the version used in the project, e.g.,
0.140.0
. This ensures that an incompatible older version is not used.
- Add a variable
- Override
- Change Build Command
- Website
- Hugo
- Theme is a customized version of the Hugo Gallery Theme by Nico Kaiser