Static landing page that curates top tech pants and provides simple filtering so visitors can compare fabrics, fits, and use cases quickly.
index.htmlβ main single-page site with layout, styles, and JavaScript that renders the comparison table.techpants.ymlβ source of truth for the tech pants list. Each item includes display text, links, pricing, and tags used for filtering.
- Fork or clone the repository.
- Update
techpants.yml:- Keep the file sorted however you prefer; alphabetical by brand works well.
priceis the human-friendly string (e.g.,"~$79.00");price_numericis used for filtering, so provide a numeric value (no currency symbol).tagsdrive the filter dropdown; use lowercase keywords likeoffice,travel,outdoor,athletic, or add new ones as needed.
- Preview the page locally by serving the folder with a static server (for example
python -m http.server) and visitinghttp://localhost:8000/index.html. Browsers blockfetchfrom the local filesystem, so a simple HTTP server keeps the YAML loader happy. - Submit a pull request describing the change and why the product should be featured.
- brand: Example Brand
model: Product Name
price: "~$123.45" # Display text shown in the table
price_numeric: 123.45 # Number used for filter logic
link: https://example.com/product
link_text: Shop Example # Anchor text for the buy link
tags:
- office
- travelThanks for helping people discover better, more comfortable pants!