1
0
Fork 0
mirror of https://github.com/ananthb/mandapam-theme.git synced 2026-09-20 16:26:57 +00:00
A Hugo theme for event venues and wedding halls
  • SCSS 59%
  • JavaScript 28.9%
  • HTML 7.1%
  • CSS 4.4%
  • Nix 0.6%
Find a file
Ananth Bhaskararaman 35e0194889 Stop tracking nix-managed .pre-commit-config.yaml
The file is a symlink generated by cachix/git-hooks.nix and should
not be committed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 15:17:34 +05:30
.github/workflows Accessibility, performance, and visual consistency audit fixes 2026-04-05 02:57:25 +05:30
archetypes Accessibility, performance, and visual consistency audit fixes 2026-04-05 02:57:25 +05:30
assets Remove concierge-worker, calendar, and htmx integration 2026-04-05 12:54:21 +05:30
exampleSite Rename demo venue to Vasanta Mandapam 2026-04-05 13:24:32 +05:30
images Use HTMX to embed contact form natively 2026-02-09 02:17:22 +05:30
layouts Add proper OG and SEO meta tags to all pages 2026-04-05 13:53:18 +05:30
scripts Integrate contact section into homepage 2026-02-09 01:20:14 +05:30
static/fonts Initial commit: Mandapam Hugo theme 2026-02-08 14:43:02 +05:30
.envrc Keep .envrc and flake.lock, only ignore .direnv/ 2026-02-08 16:24:16 +05:30
.gitignore Stop tracking nix-managed .pre-commit-config.yaml 2026-04-05 15:17:34 +05:30
flake.lock Accessibility, performance, and visual consistency audit fixes 2026-04-05 02:57:25 +05:30
flake.nix Accessibility, performance, and visual consistency audit fixes 2026-04-05 02:57:25 +05:30
go.mod Hugo Mandapam Theme for wedding and event venus 2026-02-08 15:16:24 +05:30
LICENSE Add license field to package.json 2026-02-08 22:49:39 +05:30
package-lock.json Accessibility, performance, and visual consistency audit fixes 2026-04-05 02:57:25 +05:30
package.json Accessibility, performance, and visual consistency audit fixes 2026-04-05 02:57:25 +05:30
README.md Unify concierge-worker config under [concierge] section 2026-02-11 00:16:43 +05:30
theme.toml Initial commit: Mandapam Hugo theme 2026-02-08 14:43:02 +05:30

Mandapam

A Hugo theme for event venues and wedding halls (mandapams).

Mandapam Theme Screenshot

Features

  • Responsive design with Bootstrap
  • Homepage with hero split-screen, services, content strips, and contact section
  • Facilities section with image galleries
  • Gallery section with lightbox support (GLightbox)
  • Venue page with hero image
  • Integrated contact section with phone, WhatsApp, email, form, and map
  • Calendar integration with concierge-worker for event views and booking
  • Gold gradient heading styles with 3D shadow effects
  • Configurable logo and site parameters
  • PostCSS with autoprefixer for production builds
  • SCSS styling with Bootstrap base

Screenshots

Homepage

More screenshots

Venue

Venue

Facilities

Facilities

Gallery

Contact Section

Contact Section

Mobile

Mobile

Installation

Add the theme to your Hugo site's configuration:

[module]
  [[module.imports]]
    path = "github.com/ananthb/mandapam-theme"

Then run:

hugo mod get -u

As a Git Submodule

git submodule add https://github.com/ananthb/mandapam-theme.git themes/mandapam

Configuration

Site Parameters

[params]
  logo = "logos/logo.png"  # Path to logo image
  services_heading = "Our Services"  # Heading for services section
  google_analytics_id = ""  # Google Analytics ID
  github_repository = "user/repo"  # For commit info in footer

Contact Data

Create data/contact.toml:

phone = ["+91 12345 67890"]
whatsapp = ["911234567890"]
email = ["info@example.com"]
address = "123 Street, City, State, Country"

[socials]
  Facebook = "https://facebook.com/example"
  Instagram = "https://instagram.com/example"

[map]
  iframe = '<iframe src="https://www.google.com/maps/embed?..." width="100%" height="300"></iframe>'

Concierge Worker Integration

The theme supports contact forms, event calendars, and booking forms via concierge-worker. Add to data/contact.toml:

[concierge]
  form_url = "https://concierge.example.com/f/your-form-slug"
  view_url = "https://concierge.example.com/view/your-calendar-id/your-slug"
  book_url = "https://concierge.example.com/book/your-calendar-id/your-slug"
  show_on_homepage = true
  view_title = "Event Calendar"
  booking_title = "Book Your Event"

A dedicated calendar page is available at /calendar/. You can also use shortcodes:

{{</* calendar-view */>}}
{{</* calendar-booking */>}}

Menu

[menus]
  [[menus.main]]
    name = "Home"
    url = "/"
    weight = 10
  [[menus.main]]
    name = "Venue"
    url = "/venue/"
    weight = 20
  [[menus.main]]
    name = "Facilities"
    url = "/facilities/"
    weight = 30
  [[menus.main]]
    name = "Gallery"
    url = "/gallery/"
    weight = 40
  [[menus.main]]
    name = "Contact"
    url = "/#contact"
    weight = 50

Content Types

Homepage (content/_index.md)

---
title: "Site Title"
heroLeftBackground: "images/left.jpg"
heroRightBackground: "images/right.jpg"
heroHeading: "Main Heading"
heroSubheading: "Subheading text"
---

Facilities (content/facilities/*.md)

---
title: "Facility Name"
heading: "Banner Heading"
icon: "meeting_room"  # Material Icons name
weight: 1
images:
  - "images/facility1.jpg"
  - "images/facility2.jpg"
---
---
title: "Event Name"
thumbnail: "images/thumb.jpg"
date: 2024-01-15
images:
  - "images/photo1.jpg"
  - "images/photo2.jpg"
---

Development

Prerequisites

  • Hugo (extended version)
  • Node.js
  • Go

Using Nix

nix develop
cd exampleSite
hugo server --buildDrafts

Generate Screenshots

npm install
npm run screenshots

License

MIT License - see LICENSE for details.