# stanceyan/afblog architecture

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

- Interactive diagram: https://gitdiagram.com/stanceyan/afblog
- Repository: https://github.com/stanceyan/afblog

## Overview

Alo Fonksyonè is a Hugo-powered blog about HCSL. Its main workflow is readers accessing a website generated from the repository’s pages and blog posts, with site configuration, menus, styling, and translations supporting presentation. The README also lists multi-author content, similar-post suggestions, search, dark mode, tags and categories, responsive layout, and syntax highlighting. The tree and excerpts do not show how those features are implemented or wired; those relationships are therefore documented at the product level rather than attributed to specific source modules.

Main entry points: [`config/_default/hugo.toml`](https://github.com/stanceyan/afblog/blob/main/config/_default/hugo.toml) (Site configuration), [`content`](https://github.com/stanceyan/afblog/tree/main/content) (Pages), [`content/blog`](https://github.com/stanceyan/afblog/tree/main/content/blog) (Blog posts), [`config/_default/menus/menus.toml`](https://github.com/stanceyan/afblog/blob/main/config/_default/menus/menus.toml) (Navigation menus)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Editorial content"]
  node_pages["Pages"]
  node_posts["Blog posts"]
end

subgraph group_site["Site presentation"]
  node_site_config["Site configuration<br/>[hugo.toml]"]
  node_menus["Navigation menus<br/>[menus.toml]"]
  node_params["Site parameters<br/>[params.toml]"]
  node_styles["Theme styles<br/>[theme.scss]"]
  node_translations["Translations"]
end

subgraph group_runtime["Website runtime"]
  node_hugo{{"Hugo"}}
  node_hinode["Hinode theme"]
  node_capabilities["Blog features"]
  node_website["Generated website"]
end

node_reader(("Reader"))

node_pages -->|"provides content"| node_hugo
node_posts -->|"provides posts"| node_hugo
node_site_config -->|"configures"| node_hugo
node_hugo -->|"generates"| node_website
node_site_config -->|"uses theme"| node_hinode
node_menus -.->|"configures navigation"| node_website
node_params -.->|"configures"| node_website
node_styles -.->|"styles"| node_website
node_translations -.->|"localizes"| node_website
node_hinode -.->|"provides features"| node_capabilities
node_reader -->|"views"| node_website

click node_pages "https://github.com/stanceyan/afblog/tree/main/content"
click node_posts "https://github.com/stanceyan/afblog/tree/main/content/blog"
click node_site_config "https://github.com/stanceyan/afblog/blob/main/config/_default/hugo.toml"
click node_menus "https://github.com/stanceyan/afblog/blob/main/config/_default/menus/menus.toml"
click node_params "https://github.com/stanceyan/afblog/blob/main/config/_default/params.toml"
click node_styles "https://github.com/stanceyan/afblog/blob/main/assets/scss/theme/theme.scss"
click node_translations "https://github.com/stanceyan/afblog/tree/main/i18n"

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_pages,node_posts toneBlue
class node_site_config,node_menus,node_params,node_styles,node_translations toneAmber
class node_hugo,node_hinode,node_capabilities,node_website toneMint
class node_reader toneIndigo
```

## Components

### Editorial content

- [Pages](https://github.com/stanceyan/afblog/tree/main/content): `content`
- [Blog posts](https://github.com/stanceyan/afblog/tree/main/content/blog): `content/blog`

### Site presentation

- [Site configuration](https://github.com/stanceyan/afblog/blob/main/config/_default/hugo.toml): `config/_default/hugo.toml`
- [Navigation menus](https://github.com/stanceyan/afblog/blob/main/config/_default/menus/menus.toml): `config/_default/menus/menus.toml`
- [Site parameters](https://github.com/stanceyan/afblog/blob/main/config/_default/params.toml): `config/_default/params.toml`
- [Theme styles](https://github.com/stanceyan/afblog/blob/main/assets/scss/theme/theme.scss): `assets/scss/theme/theme.scss`
- [Translations](https://github.com/stanceyan/afblog/tree/main/i18n): `i18n`

### Website runtime

- **Hugo**
- **Hinode theme**
- **Blog features**
- **Generated website**

### Other components

- **Reader**

## Connections

- Pages → Hugo: provides content (evidence: `README.md`)
- Blog posts → Hugo: provides posts (evidence: `README.md`)
- Site configuration → Hugo: configures (evidence: `README.md`)
- Hugo → Generated website: generates (evidence: `README.md`)
- Site configuration → Hinode theme: uses theme (evidence: `README.md`)
- Navigation menus → Generated website: configures navigation
- Site parameters → Generated website: configures
- Theme styles → Generated website: styles
- Translations → Generated website: localizes
- Hinode theme → Blog features: provides features
- Reader → Generated website: views (evidence: `README.md`)
