Belikin Docs · internal

Website documentation · not indexed

How the Belikin
website works

What the site is made of, why it was built this way, and how to edit, publish and look after it. Written for whoever maintains belikin.bz next, technical or not.

Static HTML, CSS, JSHosted on NetlifyCode on GitHubBuilt with ClaudeDraft · Nov 2026

1. Overview

This is the rebuild of belikin.bz, the website for Belikin, the Beer of Belize, brewed in Ladyville by Belize Brewing Company (part of Bowen & Bowen). The goal: a premium, fast, mobile-first site that sells the brand's pride in Belize, gives every beer a page of its own, and shows what Belikin does for Belizean culture.

The current draft lives at belikin.bzen.io (also belikin.netlify.app) and is blocked from search engines until the client signs off.

Two internal pages, both hidden from search: this documentation and the style guide. They are linked from the footer during the draft and will be unlinked (but kept online) at launch.

2. Who built it

Designed and built by Mickey Bowen, Creative Director of Bzen Digital, using Claude (Anthropic) as the build partner for research, copy, code, image processing and video editing.

Photography on the site is credited to Belikin and Sakkisime & Co., Belikin's agency. Video stills come from Belikin's own YouTube channel and music videos.

3. Stack and architecture

The site is plain static files: hand-written HTML pages, each with its CSS and JavaScript inside the page. There is no framework, no build step needed to publish, no database and no server code.

LayerWhatNotes
MarkupHTML5, one file per pageSemantic sections, one <h1> per page
StylesCSS in a <style> block per pageShared tokens documented in the style guide
ScriptsVanilla JS, no librariesException: Three.js (js/three.module.min.js) for the 3D bottle in the home hero
FontsGoogle Fonts: Montserrat 700–900, Inter 400–800Loaded with display=swap
GeneratorsSmall Python scriptsWrite the beer pages and the Originals page from data; optional, see §8
HostingNetlifySite name belikin; config in netlify.toml
Source controlGitHubMain branch deploys to Netlify (see §11)

4. Pages

FilePageHow it's made
index.htmlHome: video header, 3D "open a bottle" hero, beer shelf, cans, story, people, events, Originals, explore, Passport, merch, stores, social, contactHand-edited
beer.html, light.html, ultra.html, af.html, oktoberfest.html, sorrel.html, chocolate.html, blacktan.htmlOne page per beerGenerated by gen_beers.py from beer_template.html
stout.htmlBelikin Stout flagship with the Stout CalendarHand-edited (own navy theme)
two-5.htmlTwo-5 Brewing landing pageHand-edited (own teal theme)
originals.htmlBelikin Originals: music videos, Mek Wi Talk Food, the Bash, Made of Belize, the CalendarGenerated by gen_originals.py
styleguide.htmlStyle guide (noindex)Hand-edited
docs.htmlThis page (noindex)Hand-edited
privacy.html, terms.htmlPrivacy policy and terms & conditions (drafts for legal review)Generated by gen_legal.py

5. Files and folders

/                      the site root, published as-is
├── index.html         home
├── *.html             other pages (see §4)
├── netlify.toml       Netlify settings and headers
├── js/
│   ├── hero.js        3D bottle hero (Three.js)
│   └── three.module.min.js
└── img/               every image and video, flat (no subfolders)
    ├── yt-*.webp      YouTube thumbnails (16:9)
    ├── lib-*.webp     Belikin photo library from Drive
    ├── ev-*.webp      event card crops (4:3)
    ├── gram-*.webp    Instagram grid crops (1:1)
    ├── artist-*.webp  artist tiles (4:5)
    └── *.mp4          header montage, Originals reel, Bash clip

/tools (in the repo, not published)
├── gen_beers.py       beer pages ← beer_template.html
├── gen_originals.py   originals.html
├── gen_legal.py       privacy.html, terms.html
├── inject_meta.py     head tags + outbound-link rules on every page (run last)
└── media/             video and image scripts (montage, crops)

After running any generator, run python3 inject_meta.py. It rewrites the block between <!--meta--> markers in each page's head (favicon, site.webmanifest, theme colour, Open Graph and Twitter card tags), using the page's own title and description. The share image is img/og-belikin.jpg (1200×630); its source is _og/og.html, screenshotted at that size. BASE is currently https://belikin.bzen.io/; change it when the site moves to belikin.bz.

Outbound links rule: every link to another website opens in a new tab with target="_blank" rel="nofollow noopener". inject_meta.py adds this to every off-site link in the static HTML. Links built by JavaScript (event cards, merch cards, the Originals video button) set it in their templates. If you add a new off-site link, re-run the script, or add the two attributes by hand inside script templates. Update OWN in the script when the domain changes.

Keep img/ flat: the deploy copies it with a simple wildcard, and flat names are easy to search.

6. Key decisions, and why

Static files instead of a CMS or framework

The site is mostly brand storytelling that changes a few times a year. Static pages load fastest, can't be hacked through a database, cost almost nothing to host, and any developer can open them. A headless CMS can be added later for events or news if the team wants to edit without code.

One self-contained file per page

Each page carries its own CSS and JS, so a page can be changed without breaking another, and every page works on its own as a design artifact. The trade-off is repeated header/footer code; when the design settles, those can be moved into shared files.

Theme v2: charcoal with lit green panels

A dark base makes the amber bottle, the green label and night-time event photography glow, and it reads as premium. Light falls from the top right in every gradient and shadow so the whole site feels lit by one source.

Montserrat Black and Inter

Montserrat Black is the closest free match to the heavy, uppercase type on Belikin's social posts. Inter is highly legible at small sizes on phones.

Belikin-only imagery for events

Event cards use Belikin's own photos so nothing on the site depends on a third-party licence. Events without Belikin photos get a colour card instead.

Videos as thumbnails, played on click

The Originals page shows thumbnails and loads the YouTube player only when someone presses play. Twenty embedded players would make the page slow; thumbnails cost a few KB each.

Short, compressed background video

Background clips are 7–23 seconds, silent, 720p, two-pass H.264 at about 1–1.5 Mbps (0.8–4.3 MB). They play only while on screen and show a still poster first.

Pinned horizontal beer shelf

Nine beers don't fit in one row. On desktop the section pins and the shelf scrolls sideways as you scroll down, so every beer gets a moment without a carousel you have to click.

Age gate in the browser

An 18+ gate is required for alcohol marketing. The answer is remembered in the visitor's browser (localStorage key belikin-age) and shared across all pages.

Hidden from search during the draft

Netlify sends X-Robots-Tag: noindex, nofollow on every file until launch, so the draft can't compete with the live belikin.bz in Google.

7. How the features work

FeatureWhereHow
Video headerindex.html .vheroMuted looping <video> with poster; sound toggle button
3D bottle herojs/hero.jsThree.js scene tied to scroll; pops the crown and flips the cap to "1969". Falls back to stills with reduced motion or no WebGL
Beer shelf#beersSection height = viewport + shelf overflow; page scroll drives scrollLeft; progress bar and arrows
Event shelf#eventsCards rendered by JS from the events array near the bottom of index.html
Originals clipsindex.html, originals.htmlIntersectionObserver plays videos only while visible
Video playeroriginals.htmlAny link with data-yt="ID" opens a modal with a youtube-nocookie embed and an "Open on YouTube" link
Anchor scrollingall pagesEased scroll that stops at header height + 36px; CSS scroll-padding-top:112px as a fallback
Passport, stores, merchindex.htmlStatic content linking to passport.belikin.bz and belikinstore.bz

8. Making edits

Change text or a link

  1. Open the page's .html file in any code editor (VS Code is free) or straight on GitHub with the pencil icon.
  2. Find the words with search, change them, save.
  3. Commit to the main branch. Netlify publishes in about a minute (§10).

Add or change an event

In index.html, find const events = [. Each event is one line:

{ img: 'img/ev-lobster-b.webp', cr: 'Belikin', n: 'Lobsterfest', mo: 'Jul',
  where: 'San Pedro · Caye Caulker · Placencia', when: 'June to July',
  g: 'linear-gradient(205deg,#ff8f6b 0%,#e0482c 45%,#7a1c12 100%)',
  d: 'Lobster season opens with beach parties…', u: 'optional-link.html', b: 'optional badge' }

Leave out img to get a colour card using g. Leave out cr (or set it to Belikin) to hide the photo credit.

Edit a beer page

The eight beer pages are generated. Change the shared layout in beer_template.html or a beer's words, colours and images in the beers list in gen_beers.py, then run:

python3 gen_beers.py      # rewrites beer.html, light.html, … in the site root

Editing a generated page directly works too, but the next run of the script will overwrite it.

Edit the Originals page

Video lists (ID, title, label, duration) are at the top of gen_originals.py. Add a row, add the thumbnail (§9), run python3 gen_originals.py.

Styles

Use the tokens and components in the style guide. Each page's styles are at the top of the file; theme v2 overrides sit near the end of the home page's style block, so later rules win.

Preview locally

cd site
python3 -m http.server 8765
# open http://localhost:8765 (answer the age gate once)

9. Images and video

  • Format: WebP for photos (quality ~80), PNG only for logos with transparency, MP4 (H.264) for video.
  • Sizes: event cards 960×720, video thumbnails 960×540, artist tiles 560×700, Instagram tiles 720×720, hero stills up to 1600 wide.
  • Names: lowercase with hyphens and a prefix by use (ev-, yt-, lib-, gram-, artist-).
  • Replacing an image: give the new file a new name, or add ?v=2 to its path in the HTML, so browsers don't show the cached old one.
  • YouTube thumbnails: https://i.ytimg.com/vi/VIDEO_ID/maxresdefault.jpg, trimmed of black bars and cropped to 16:9.
  • Video: keep background clips under ~15 s and ~2 MB where possible:
    ffmpeg -i in.mp4 -an -vf "scale=1280:720,fps=30" -c:v libx264 -preset slow \
      -b:v 1300k -maxrate 2200k -bufsize 4M -movflags +faststart out.mp4
  • Alt text: describe what's in the photo; decorative images get alt="".

Photo credit: Belikin and Sakkisime & Co. The full-resolution library from Drive is kept in the repo's assets/ folder, with web copies in img/lib-*.webp.

10. Publishing on Netlify

Netlify hosts the site on its global CDN with free HTTPS.

SettingValue
Site namebelikin → belikin.netlify.app
Custom domain (draft)belikin.bzen.io
Build commandnone (static)
Publish directory. (the site root)
HeadersX-Robots-Tag: noindex, nofollow during the draft
# netlify.toml
[build]
  publish = "."

[[headers]]
  for = "/*"
  [headers.values]
    X-Robots-Tag = "noindex, nofollow"

How a change goes live

  1. Push or merge to main on GitHub.
  2. Netlify sees the commit, uploads the files and swaps the site over atomically: visitors never see a half-updated site.
  3. Every deploy stays in Netlify's history; Deploys → pick an older one → Publish deploy rolls back in one click.

Pull requests get their own preview URL (Deploy Previews), handy for client review before merging. During the draft, deploys were also made directly from the build workspace with the Netlify CLI.

Going live on belikin.bz

In Netlify: Domain management → Add domain → belikin.bz, then point the domain's DNS at Netlify (or move DNS to Netlify). Netlify issues the HTTPS certificate automatically.

11. Code on GitHub

The source lives in a GitHub repository (owner to be set up under Bzen Digital or Bowen & Bowen). GitHub keeps every version, shows who changed what, and is what Netlify deploys from.

git clone https://github.com/<org>/belikin-website.git
cd belikin-website
# edit files…
git add -A
git commit -m "Update Lobsterfest dates"
git push origin main        # Netlify deploys automatically
  • Branches: work on a branch for anything bigger than a text fix, open a pull request, check the Netlify preview, then merge.
  • Connecting: Netlify → Site configuration → Build & deploy → Link repository → choose the repo and main.
  • Don't commit: secrets, API keys, or raw camera files over 100 MB (use Git LFS or Drive for those).

12. Launch checklist

  1. Remove the X-Robots-Tag header from netlify.toml.
  2. Unlink the style guide and docs from the footers, and keep their noindex meta tags.
  3. Remove "Draft" badges and draft notes (.draft, .note lines starting "Draft:").
  4. Delete _canrender.html (the can-rendering helper).
  5. Add redirects from old belikin.bz URLs (e.g. /our-story.html, /for-belizeans.html) to the new sections in a _redirects file.
  6. Have legal counsel approve the privacy policy and terms.
  7. Fix titles and descriptions on every page (the old site's "Our Story - Beikin" title typo is gone in the rebuild).
  8. Add Open Graph images, favicon set and a sitemap.xml; submit to Google Search Console.
  9. Confirm image licences and replace any remaining placeholders.
  10. Connect the live Instagram feed and the contact form (Netlify Forms works with no server).
  11. Point belikin.bz at Netlify and check HTTPS.

13. Performance and accessibility

  • Images below the fold use loading="lazy"; videos use preload="none" or metadata with a poster.
  • Respects prefers-reduced-motion: animation, smooth scrolling and autoplay switch off.
  • Keyboard focus is always visible (gold outline). Menus close with Escape. Shelves scroll with arrow keys.
  • Colour contrast: cream on charcoal and ink on cream pass WCAG AA for body text.
  • Test with Lighthouse in Chrome DevTools before each release; target 90+ on Performance and Accessibility on mobile.

14. Open items

  • Header: a 26-second photo montage of 10 photos chosen by Michael with the header photo picker (/picker/). Each photo pushes in slowly, neighbours crossfade, and the loop is seamless. To change it, pick photos in the picker, then re-run media/montage.py (shot list and crop centres at the top) and replace img/hero-montage.mp4 + img/hero-poster.webp, bumping their ?v= number in index.html. A clip-based trial was set aside in Nov 2026; swap in a filmed montage when footage is ready.
  • Real-bottle shoot for the "Open a bottle" hero, and the scroll-driven pour moment.
  • Confirm: Heineken partnership year, Hilberto Hernandez's title, "road to the burning sun", Belikin's role at Settlement Day, Chocolate Festival and Costa Maya.
  • High-resolution originals for older photos; licences for anything not shot by Belikin or Sakkisime & Co.
  • Move repeated header/footer code into shared files once the design is approved.