Static site for Tehran LUG (تهرانلاگ), the Tehran GNU/Linux & free-software community.
Built with Hugo (Persian, RTL).
Needs Hugo Extended (~0.120+).
hugo server # http://localhost:1313/
hugo --minify # builds into public/Optional archive refresh:
python3 scripts/import_published_content.py| Path | Purpose |
|---|---|
content/ |
Events, news, pages, topics |
data/topics.yaml |
Topics list |
layouts/ |
Templates |
static/assets/ |
CSS, JS, fonts, images |
scripts/ |
Import utilities |
| GitHub | |
|---|---|
| Maede | @maede-ps |
| Shirin Manzari | @shirin-manzari |
- Branch from
main - Run
hugo serverand check desktop + mobile - Keep PRs focused
- Use clear commit messages (see below)
<type>: <short summary>
Types: feat · fix · content · style · refactor · chore · docs · a11y · perf
Examples:
feat: feature the latest event on the homepage dynamically
fix: keep footer at bottom of short pages
content: normalize event front matter for sessions 270–280
docs: clarify local Hugo setup
Avoid vague subjects like update or mixed unrelated changes in one PR.
-
Clean scraped event fields — fix messy
time/locationin older events
content: normalize event front matter for sessions X–Y -
Expand stub pages — real content for FAQ, contribute, calendar
content: expand FAQ with community onboarding answers -
Dynamic homepage event — stop hardcoding session ۲۸۰
feat: feature the latest event on the homepage dynamically -
Event-page lightbox — reuse gallery slider on event detail galleries
feat: reuse gallery lightbox on event detail pages -
Speakers pagination — replace manual
speakers-2.md… pages with a maintainable approach
refactor: replace manual speakers pages with paginated section -
SEO meta — Open Graph + fix placeholder site title in
hugo.yaml
feat: add Open Graph tags and fix site title -
CI build check — run
hugo --minifyon PRs
chore: add Hugo build workflow for pull requests -
Topics → local events — link topics to local event pages where possible
feat: link topic tags to matching local event pages
Keep the current grayscale RTL look unless a PR is explicitly a redesign.
Thanks for contributing to تهرانلاگ.