Agent Guide: Site Architecture and Editing Rules

This repository now uses Jekyll layouts and includes to centralize shared HTML (head, navigation, footer, and scripts). This change reduces duplication and makes future updates safer and faster.

Scope: Entire repository.

Structure

Page Front Matter

Each page begins with YAML front matter, then contains only the page’s content (no <html>, <head>, <body>, nav, or footer tags).

Supported fields:

Examples:

---
layout: default
title: Products - Puente Scientific
description: Puente Scientific Products - High-quality refurbished laboratory equipment and emerging technologies
lang: en
extra_scripts:
  - assets/js/holoTitle.js
---
---
layout: default
title: Contact - Puente Scientific
description: Contact Puente Scientific - Get in touch for professional export services and international trade solutions
lang: en
extra_css:
  - assets/css/contact.css
---

Edit Where?

Critical Business Content (do not alter)

Refer to PROTECTED_FILES.md and BUSINESS_CONTENT.md before editing sensitive areas.

Accessibility and Behavior Contracts

Adding a New Page

  1. Create new-page.html with front matter:
    ---
    layout: default
    title: New Page - Puente Scientific
    description: One‑line summary for SEO
    lang: en
    ---
    
  2. Add only the page content (sections inside <main>). Do not duplicate head/nav/footer/scripts.
  3. If you need extra CSS/JS, use extra_css / extra_scripts arrays.
  4. If the nav needs a new link, update _includes/header.html once.

Notes for AI and Agents

Build/Hosting