Files

60 lines
2.0 KiB
Markdown
Raw Permalink Normal View History

2026-05-28 10:13:16 -05:00
# Lodge website
<overview>
Static site `www.thelonglakelodge.com` (apex → 301 → www). Source at
`~/code/git/code.fritzlab.net/websites/thelonglakelodge.com`. Published via
`action/site-publish@v1`: push to `main``aws s3 sync --delete` to Garage
bucket `thelonglakelodge.com`, ArgoCD reconciles Traefik Ingress + cert.
</overview>
<welcome-packet>
## Welcome packet PDF (`/welcome`)
`https://www.thelonglakelodge.com/welcome` is a real HTTP 301 redirect to
`/welcome.pdf` (browser renders the PDF in its native viewer). Unlisted, not
in nav.
2026-05-28 10:13:16 -05:00
Both objects live in the Garage S3 bucket only, NOT in git:
- `s3://thelonglakelodge.com/welcome` — empty object with
`x-amz-website-redirect-location: /welcome.pdf` and `content-type: text/html`
- `s3://thelonglakelodge.com/welcome.pdf` — the PDF itself
Preserved across site-publish runs via `excludes: [welcome, welcome.pdf]` in
`site.yaml` (the `--exclude` flag was added to `action/site-publish` for this
case).
2026-05-28 10:13:16 -05:00
### Update the packet
One command — change is live immediately, no git/CI involved:
```sh
aws --profile sjc001 s3 cp /path/to/new.pdf \
s3://thelonglakelodge.com/welcome.pdf \
2026-05-28 10:13:16 -05:00
--content-type application/pdf
```
### Recreate the /welcome redirect (rarely needed)
```sh
aws --profile sjc001 s3api put-object \
--bucket thelonglakelodge.com \
--key welcome \
--website-redirect-location /welcome.pdf \
--content-type text/html
```
2026-05-28 10:13:16 -05:00
The `sjc001` aws-cli profile is documented in fritzlab `garage.md`.
</welcome-packet>
<policy-sync>
## Guest-facing policy lives in two places
Check-out time, quiet hours, occupancy, and local-contact details are stated
both in the welcome PDF and in the quick-ref cards on `site/house-rules.html`.
When updating any of these values, update BOTH or they will drift.
`house-rules.html` no longer contains the full rules accordion; it links to
`/welcome` for the canonical detailed rules. The quick-ref cards remain on the
page as an at-a-glance summary.
</policy-sync>