The VeruA AG Website https://verua.swiss
Find a file
Andreas Hnida c87fb11971
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m44s
.
2024-04-18 14:22:07 +02:00
.gitea/workflows . 2024-04-18 14:22:07 +02:00
.github
archetypes 'translationKey' in Archetype aufgenommen. 2024-02-28 09:25:15 +00:00
assets refactor(styles): Improve formatting and readability 2024-04-01 09:16:38 +02:00
config/_default update deployment environment in params.toml and hugo.toml 2024-04-18 14:18:15 +02:00
content deleted rudamentary slider component and social.json 2024-04-18 11:16:24 +02:00
data deleted rudamentary slider component and social.json 2024-04-18 11:16:24 +02:00
images
scripts
static feat(email) add additional recipients and update email messages for Verua team's communication 2024-04-01 09:29:14 +02:00
themes/hugoplate deactivated unused plugins 2024-04-18 13:34:51 +02:00
.gitignore Add TODO.todo to .gitignore 2024-04-18 10:29:37 +02:00
.prettierignore bugfix warning message regarding the use of 'IsSet' that could result in <nil> 2024-04-18 11:30:16 +02:00
config_example_env.yaml Added configuration files for deployment environment and test yaml file for reading and using yaml data. 2024-04-17 22:59:15 +02:00
go.mod deactivated unused plugins 2024-04-18 13:34:51 +02:00
hugo.toml update deployment environment in params.toml and hugo.toml 2024-04-18 14:18:15 +02:00
LICENSE
package-lock.json removed package-lock.json form .gitignore 2024-04-17 12:49:55 +02:00
package.json
postcss.config.js
readme.md update deployment environment in params.toml and hugo.toml 2024-04-18 14:18:15 +02:00
tailwind.config.js
theme.toml

Verua.CH Website

currently under development on: verua.dev-1.andreashnida.de 👀

Development site: preview.verua.info
Production site: verua.info

This site is based on Hugoplate Boilerplate Theme for Hugo. For specifics on how to use the theme, please refer to the README of the theme.

Usage / Update Content

To use the theme, and to update your content, you need to clone the repository, update your content in the content folder and push your changes to the main branch which will trigger a deployment.

# Clone the repository
git clone https://code.verua.online/rabeweb/verua.ch_src.git

# connect to your gitea instance
cd verua.ch_src
git remote add origin https://code.verua.online/rabeweb/verua.ch_src.git
git push -u origin main

Deployment

Deployment is done via Gitea Runners. The deployment is triggered by a push to the main branch. The deployment will automatically build the site and deploy it to the production or preview environment.

You can control where the site is deployed by setting the 'params.environment' variable in the hugo.toml file. The value should be either production or development.

This also controls the creation of the robots.txt file. If the value is development, the robots.txt file will be created with the following content:

User-agent: *
Disallow: /

Credentials and targets are stored as secrets in your Gitea instance.

You can also run the site locally. Please refer to the 'Development' section for more information.

You will find the workflow file in /.gitea/workflows/build-and-deploy-pipeline.yaml

Development

To run the site locally, you can use the following commands:

# Install dependencies
npm install

# Start the development server
npm run dev

The site will be available at http://localhost:8080.

Features

Custom Shortcodes exclusively for Verua.CH

/themes/hugoplate/layouts/shortcodes/

  • Alerts: Create alerts with custom text and styles.
  • Aligncenter: Center content horizontally.
  • Buttons: Create buttons with custom text and styles.
  • Cards: Create beautiful cards with custom content and images.
  • Columns: Create responsive columns with custom content and images.
  • Icons: Use icons from the Font Awesome library to add icons to your website.
  • Sections: Create sections with custom content and images.