mirror of
https://github.com/albinhenriksson/ahenriksson.com.git
synced 2026-04-14 06:10:56 +00:00
Simple portfolio site using hugo.
| archetypes | ||
| assets/css | ||
| content | ||
| layouts | ||
| static | ||
| themes | ||
| .gitignore | ||
| .gitmodules | ||
| .hugo_build.lock | ||
| deploy.sh | ||
| hugo.toml | ||
| README.md | ||
ahenriksson.com
This is the source code for ahenriksson.com – my personal website built with Hugo, a fast and flexible static site generator.
🛠 Tech Overview
- Static generator: Hugo
- Theme: HugoTeX (included as a Git submodule)
- Deployment: Built static files live in
public/and are served via nginx.
🚀 Run Locally
To run the site locally, install Hugo.
git clone --recurse-submodules git@github.com:albinhenriksson/ahenriksson.com.git
cd ahenriksson.com
hugo server -D
The site will be available at http://localhost:1313.
🧱 Project Structure
archetypes/ → content templates
assets/ → SCSS, JS etc. for Hugo Pipes
content/ → all site content (Markdown)
data/ → optional data files (YAML/JSON/TOML)
layouts/ → custom templates and overrides
public/ → generated static files (not committed)
resources/ → Hugo cache and generated resources
static/ → static files like images, CSS, JS
themes/ → HugoTeX as a submodule
hugo.toml → site configuration
🧾 .gitignore
The following directories are excluded from version control:
/public//resources/.hugo_build.lock
These are automatically generated by Hugo during builds.
📦 Deployment
To build the site:
hugo
The resulting HTML/CSS/JS is written to the public/ directory and deployed to a server running nginx at https://ahenriksson.com.
📜 License
All original content is © Albin Henriksson. The theme is the property of its respective authors.