# sivalabs/sivalabs-hugo architecture

> Architecture diagram of the GitHub repository sivalabs/sivalabs-hugo, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sivalabs/sivalabs-hugo
- Repository: https://github.com/sivalabs/sivalabs-hugo

## Overview

SivaLabs is a Hugo-based blog: readers visit published articles and pages, with the repository holding editorial content, theme presentation, and static media. The available source excerpts are limited to package metadata and image optimization; the content-to-template rendering links are therefore shown as unverified. The README provides little detail about site features or runtime behavior.

Main entry points: [`static`](https://github.com/sivalabs/sivalabs-hugo/tree/main/static) (Images and audio), [`content/blog`](https://github.com/sivalabs/sivalabs-hugo/tree/main/content/blog) (Blog posts), [`content/blog/spring-boot-tutorials`](https://github.com/sivalabs/sivalabs-hugo/tree/main/content/blog/spring-boot-tutorials) (Tutorial series), [`content/pages`](https://github.com/sivalabs/sivalabs-hugo/tree/main/content/pages) (Site pages)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_editorial["Editorial content"]
  node_posts["Blog posts"]
  node_tutorials["Tutorial series"]
  node_pages["Site pages"]
  node_training["Training content"]
end

subgraph group_presentation["Theme presentation"]
  node_layouts["Page layouts"]
  node_styles["Theme styles<br/>[main.css]"]
  node_scripts["Theme behavior<br/>[main.js]"]
  node_audio_shortcode["Audio embed<br/>[audio.html]"]
end

subgraph group_media["Static media"]
  node_static_media["Images and audio"]
end

node_reader(("Reader"))
node_published_site["Published blog"]

node_reader -->|"visits"| node_published_site
node_posts -.->|"rendered into"| node_published_site
node_tutorials -.->|"rendered into"| node_published_site
node_pages -.->|"rendered into"| node_published_site
node_training -.->|"rendered into"| node_published_site
node_layouts -.->|"present"| node_published_site
node_styles -.->|"styles"| node_published_site
node_scripts -.->|"supports"| node_published_site
node_static_media -.->|"served with"| node_published_site
node_audio_shortcode -.->|"embeds audio"| node_static_media

click node_posts "https://github.com/sivalabs/sivalabs-hugo/tree/main/content/blog"
click node_tutorials "https://github.com/sivalabs/sivalabs-hugo/tree/main/content/blog/spring-boot-tutorials"
click node_pages "https://github.com/sivalabs/sivalabs-hugo/tree/main/content/pages"
click node_training "https://github.com/sivalabs/sivalabs-hugo/tree/main/content/trainings"
click node_layouts "https://github.com/sivalabs/sivalabs-hugo/tree/main/themes/sivalabs/layouts"
click node_styles "https://github.com/sivalabs/sivalabs-hugo/blob/main/themes/sivalabs/assets/css/main.css"
click node_scripts "https://github.com/sivalabs/sivalabs-hugo/blob/main/themes/sivalabs/assets/js/main.js"
click node_static_media "https://github.com/sivalabs/sivalabs-hugo/tree/main/static"
click node_audio_shortcode "https://github.com/sivalabs/sivalabs-hugo/blob/main/themes/sivalabs/layouts/shortcodes/audio.html"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_posts,node_tutorials,node_pages,node_training toneBlue
class node_layouts,node_styles,node_scripts,node_audio_shortcode toneAmber
class node_static_media toneMint
class node_reader,node_published_site toneIndigo
```

## Components

### Editorial content

- [Blog posts](https://github.com/sivalabs/sivalabs-hugo/tree/main/content/blog): `content/blog`
- [Tutorial series](https://github.com/sivalabs/sivalabs-hugo/tree/main/content/blog/spring-boot-tutorials): `content/blog/spring-boot-tutorials`
- [Site pages](https://github.com/sivalabs/sivalabs-hugo/tree/main/content/pages): `content/pages`
- [Training content](https://github.com/sivalabs/sivalabs-hugo/tree/main/content/trainings): `content/trainings`

### Theme presentation

- [Page layouts](https://github.com/sivalabs/sivalabs-hugo/tree/main/themes/sivalabs/layouts): `themes/sivalabs/layouts`
- [Theme styles](https://github.com/sivalabs/sivalabs-hugo/blob/main/themes/sivalabs/assets/css/main.css): `themes/sivalabs/assets/css/main.css`
- [Theme behavior](https://github.com/sivalabs/sivalabs-hugo/blob/main/themes/sivalabs/assets/js/main.js): `themes/sivalabs/assets/js/main.js`
- [Audio embed](https://github.com/sivalabs/sivalabs-hugo/blob/main/themes/sivalabs/layouts/shortcodes/audio.html): `themes/sivalabs/layouts/shortcodes/audio.html`

### Static media

- [Images and audio](https://github.com/sivalabs/sivalabs-hugo/tree/main/static): `static`

### Other components

- **Reader**
- **Published blog**

## Connections

- Reader → Published blog: visits (evidence: `README.md`)
- Blog posts → Published blog: rendered into
- Tutorial series → Published blog: rendered into
- Site pages → Published blog: rendered into
- Training content → Published blog: rendered into
- Page layouts → Published blog: present
- Theme styles → Published blog: styles
- Theme behavior → Published blog: supports
- Images and audio → Published blog: served with
- Audio embed → Images and audio: embeds audio
