Skip to content

Repository files navigation

PGSTY.com on OINK

Website GitHub Pages Hugo

The bilingual PGSTY corporate portal pins github.com/pgsty/oink v0.4.1 as its Hugo theme. The site keeps bespoke home, about, pricing, and solutions layouts while OINK supplies the reusable content system, shortcodes, icon set, favicon conventions, and Markdown/LLMS output formats. The bespoke homepage also dispatches its extensible content band from data/home/<language>.yaml through OINK's composable section API, so generic sections can evolve without copying theme templates into this repository.

Every portal page also reuses OINK 0.3's same-origin, language-separated search index and Command Palette. Cmd/Ctrl-K opens page discovery and shared page actions; / opens localized portal commands. The bridge lives in layouts/_partials/portal/palette.html, while the registry, index, ranking, dialog, and action behavior remain owned by the pinned theme.

Run

make d  # Debug with the sibling ../oink checkout
make s  # Serve with the theme version pinned in go.mod
make b  # Build with the pinned theme
make c  # Run the complete site check

make d creates an ignored go.work without pinning the preview port. The long targets are debug, serve, build, and check; dev retains the pinned-theme preview. make c validates rendered HTML, Markdown, and llms.txt links, and rejects any false PGSTY/PIGSTY registered-trademark claim in source or output. To update the pinned theme intentionally, run make update-theme, review go.mod and go.sum, then rerun the checks.

Deploy

Pushing main triggers two independent builds:

  • GitHub Actions builds and deploys the GitHub Pages site.
  • Cloudflare Pages builds main with Hugo and serves pgsty.com.

Both deployment paths use Hugo extended 0.164.0.

About

Website of pgsty

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages