AI Templates Section
A clean, static, SEO-friendly AI Templates repository for hasanjaffal.com.
Folder Structure
ai-templates-section/
├── _aiTemplates/ # Markdown source files for each template
├── pdf/ # Downloadable PDF files
├── layouts/ # Reusable HTML layout templates
├── pages/ # Public HTML pages
├── assets/css/ # Stylesheets
├── generate_pdf.py # PDF generation script
└── README.md
How to Add a New Template
-
Create a Markdown file in
_aiTemplates/with the naming convention:ai-[template-name].md - Add front matter:
--- title: "AI [Template Name]" slug: "ai-[template-name]" description: "Short description." category: "Management | Risk Management | Reporting | Decision-Making | Data Analysis" audience: "Target audience" download: "/pdf/ai-[template-name].pdf" last_updated: "YYYY-MM-DD" --- -
Create the HTML page in
pages/usinglayouts/template-page.htmlas reference. -
Generate a PDF and place it in
pdf/. - Add a card to
pages/ai-templates.htmlhub page.
Naming Rules
- File names: lowercase, hyphenated, prefixed with
ai- - URLs:
/ai-templates/ai-[template-name] - PDFs:
pdf/ai-[template-name].pdf
SEO Rules
- Every page must have a unique
<title>and<meta name="description"> - Every page must have a canonical URL
- Every page must include JSON-LD structured data (CreativeWork or HowTo)
- Every page must have Open Graph tags
- Internal links between related templates
PDF Rules
- Clean, printable, professional
- Include title, description, all sections, tables
- No heavy branding — keep it functional
- Generate using
generate_pdf.py(requiresfpdf2and system fonts)