${fmtDate(a.date)}
${escapeHtml(a.title)}
${escapeHtml(a.description || "")}
import fs from "node:fs/promises"; import path from "node:path"; import fg from "fast-glob"; import matter from "gray-matter"; import { marked } from "marked"; const ROOT = process.cwd(); const SRC = path.join(ROOT, "src"); const PUBLIC = path.join(ROOT, "public"); const ARTICLES_GLOB = "articles/**/index.md"; const SITE_URL = (process.env.SITE_URL || "https://apophenia.news").replace(/\/+$/, ""); marked.setOptions({ breaks: true, gfm: true }); const logo = ` `; const shellHead = ({ title, desc, image, url, type = "website" }) => `
Pattern Intelligence Journalism
High-agency analysis at the intersection of AGI, consciousness, geopolitics, and first-contact logic.
${fmtDate(a.date)}
${escapeHtml(a.description || "")}
${fmtDate(article.date)} • ${escapeHtml(article.author || "Apophenia")}
${escapeHtml(article.description || "")}
Contributor Program
Have a strong pattern-based story, analysis, or investigation? Send it to us.
---
title: "Your headline"
slug: your-slug
date: 2026-03-01
author: Your Name or Alias
description: "1-2 sentence summary"
header_image: https://direct-img.link/your+image+query
tags:
- your-tag
- another-tag
---