# szmosi/szmosi.github.io architecture

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

- Interactive diagram: https://gitdiagram.com/szmosi/szmosi.github.io
- Repository: https://github.com/szmosi/szmosi.github.io

## Overview

This repository is an al-folio academic portfolio website built around Jekyll. Visitors browse profile, CV, project, teaching, and publication content; the sampled search template also builds browser-side navigation and search entries from site content and social data. The tree shows additional interactive features and third-party integrations. Because most templates and their wiring were not sampled and the README is empty, those connections are shown only as unverified where useful; the search relationships are supported by its excerpt.

Main entry points: [`website-source/_scripts/search.liquid.js`](https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_scripts/search.liquid.js) (Site search), [`website-source/_layouts`](https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_layouts) (Page layouts), [`website-source/_pages`](https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_pages) (Profile pages), [`website-source/_includes`](https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_includes) (Content components)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Portfolio content"]
  node_pages["Profile pages"]
  node_projects["Project portfolio"]
  node_socialdata["Social profiles<br/>[socials.yml]"]
end

subgraph group_site["Site presentation"]
  node_layouts["Page layouts"]
  node_includes["Content components"]
  node_cv["CV sections"]
end

subgraph group_interactive["Visitor features"]
  node_search["Site search<br/>[search.liquid.js]"]
  node_calendar["Calendar display<br/>[calendar-setup.js]"]
  node_charts["Chart displays<br/>[chartjs-setup.js]"]
  node_maps["Map displays<br/>[leaflet-setup.js]"]
  node_gallery["Photo galleries"]
  node_theme["Theme controls<br/>[theme.js]"]
end

subgraph group_integrations["External integrations"]
  node_comments["Comments<br/>[giscus-setup.js]"]
  node_consent["Cookie consent"]
  node_analytics["Analytics setup"]
end

node_visitor(("Visitor"))
node_giscus(("Giscus service"))
node_cookieconsent(("CookieConsent library"))
node_browser(("Browser navigation"))

node_visitor -.->|"browses"| node_layouts
node_pages -.->|"renders through"| node_layouts
node_projects -.->|"renders through"| node_layouts
node_layouts -.->|"uses components"| node_includes
node_includes -.->|"renders sections"| node_cv
node_visitor -.->|"invokes"| node_search
node_search -.->|"indexes pages"| node_pages
node_search -->|"reads profiles"| node_socialdata
node_search -->|"opens results"| node_browser
node_visitor -.->|"views"| node_calendar
node_visitor -.->|"views"| node_charts
node_visitor -.->|"views"| node_maps
node_visitor -.->|"opens"| node_gallery
node_visitor -.->|"changes theme"| node_theme
node_visitor -.->|"comments on"| node_comments
node_comments -->|"loads script"| node_giscus
node_visitor -.->|"sets preferences"| node_consent
node_consent -->|"initializes"| node_cookieconsent
node_visitor -.->|"permits tracking"| node_analytics

click node_pages "https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_pages"
click node_projects "https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_projects"
click node_socialdata "https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_data/socials.yml"
click node_layouts "https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_layouts"
click node_includes "https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_includes"
click node_cv "https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_includes/cv"
click node_search "https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_scripts/search.liquid.js"
click node_calendar "https://github.com/szmosi/szmosi.github.io/blob/main/website-source/assets/js/calendar-setup.js"
click node_charts "https://github.com/szmosi/szmosi.github.io/blob/main/website-source/assets/js/chartjs-setup.js"
click node_maps "https://github.com/szmosi/szmosi.github.io/blob/main/website-source/assets/js/leaflet-setup.js"
click node_gallery "https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_scripts/photoswipe-setup.js"
click node_theme "https://github.com/szmosi/szmosi.github.io/blob/main/website-source/assets/js/theme.js"
click node_comments "https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_scripts/giscus-setup.js"
click node_consent "https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_scripts/cookie-consent-setup.js"
click node_analytics "https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_scripts/google-analytics-setup.js"

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_projects,node_socialdata,node_browser toneBlue
class node_layouts,node_includes,node_cv toneAmber
class node_search,node_calendar,node_charts,node_maps,node_gallery,node_theme toneMint
class node_comments,node_consent,node_analytics toneRose
class node_visitor,node_giscus,node_cookieconsent toneIndigo
```

## Components

### Portfolio content

- [Profile pages](https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_pages): `website-source/_pages`
- [Project portfolio](https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_projects): `website-source/_projects`
- [Social profiles](https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_data/socials.yml): `website-source/_data/socials.yml`

### Site presentation

- [Page layouts](https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_layouts): `website-source/_layouts`
- [Content components](https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_includes): `website-source/_includes`
- [CV sections](https://github.com/szmosi/szmosi.github.io/tree/main/website-source/_includes/cv): `website-source/_includes/cv`

### Visitor features

- [Site search](https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_scripts/search.liquid.js): `website-source/_scripts/search.liquid.js`
- [Calendar display](https://github.com/szmosi/szmosi.github.io/blob/main/website-source/assets/js/calendar-setup.js): `website-source/assets/js/calendar-setup.js`
- [Chart displays](https://github.com/szmosi/szmosi.github.io/blob/main/website-source/assets/js/chartjs-setup.js): `website-source/assets/js/chartjs-setup.js`
- [Map displays](https://github.com/szmosi/szmosi.github.io/blob/main/website-source/assets/js/leaflet-setup.js): `website-source/assets/js/leaflet-setup.js`
- [Photo galleries](https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_scripts/photoswipe-setup.js): `website-source/_scripts/photoswipe-setup.js`
- [Theme controls](https://github.com/szmosi/szmosi.github.io/blob/main/website-source/assets/js/theme.js): `website-source/assets/js/theme.js`

### External integrations

- [Comments](https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_scripts/giscus-setup.js): `website-source/_scripts/giscus-setup.js`
- [Cookie consent](https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_scripts/cookie-consent-setup.js): `website-source/_scripts/cookie-consent-setup.js`
- [Analytics setup](https://github.com/szmosi/szmosi.github.io/blob/main/website-source/_scripts/google-analytics-setup.js): `website-source/_scripts/google-analytics-setup.js`

### Other components

- **Visitor**
- **Giscus service**
- **CookieConsent library**
- **Browser navigation**

## Connections

- Visitor → Page layouts: browses
- Profile pages → Page layouts: renders through
- Project portfolio → Page layouts: renders through
- Page layouts → Content components: uses components
- Content components → CV sections: renders sections
- Visitor → Site search: invokes
- Site search → Profile pages: indexes pages
- Site search → Social profiles: reads profiles (evidence: `website-source/_scripts/search.liquid.js`)
- Site search → Browser navigation: opens results (evidence: `website-source/_scripts/search.liquid.js`)
- Visitor → Calendar display: views
- Visitor → Chart displays: views
- Visitor → Map displays: views
- Visitor → Photo galleries: opens
- Visitor → Theme controls: changes theme
- Visitor → Comments: comments on
- Comments → Giscus service: loads script (evidence: `website-source/_scripts/giscus-setup.js`)
- Visitor → Cookie consent: sets preferences
- Cookie consent → CookieConsent library: initializes (evidence: `website-source/_scripts/cookie-consent-setup.js`)
- Visitor → Analytics setup: permits tracking
