asw-v01: archive deferred content (packs, site, lab, legacy examples)
- 2.1: packs/ -> archive/packs/ - 2.2: site/ -> archive/site/ - 2.3: src/lab/ -> archive/lab/ - 2.4: examples/ -> archive/examples-legacy/ (SSI-based)
This commit is contained in:
parent
416fe2f180
commit
e47a9f4401
173 changed files with 11 additions and 5 deletions
67
archive/packs/pandoc/asw.html5
Normal file
67
archive/packs/pandoc/asw.html5
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>$if(title)$$title$$else$Untitled$endif$</title>
|
||||
$if(description)$ <meta name="description" content="$description$">
|
||||
$endif$
|
||||
$-- CSS: link to asw.css (adjust path for your deployment) $
|
||||
<link rel="stylesheet" href="/asw.css">
|
||||
$for(css)$ <link rel="stylesheet" href="$css$">
|
||||
$endfor$
|
||||
$if(header-includes)$$header-includes$$endif$
|
||||
</head>
|
||||
<body>
|
||||
|
||||
$-- Page header: title + optional eyebrow / metadata $
|
||||
$if(title)$
|
||||
<header>
|
||||
<hgroup>
|
||||
$if(section)$ <p data-text="eyebrow">$section$</p>
|
||||
$endif$ <h1>$title$</h1>
|
||||
$if(description)$ <p data-text="lead">$description$</p>
|
||||
$endif$ </hgroup>
|
||||
|
||||
$-- Session metadata block (agent-authored content) $
|
||||
$if(agent)$
|
||||
<div data-session>
|
||||
<span data-session-meta>
|
||||
$if(date)$ <time datetime="$date$">$date$</time>$endif$
|
||||
$if(agent)$ <span>$agent$</span>$endif$
|
||||
$if(model)$ <span>$model$</span>$endif$
|
||||
$if(mode)$ <span data-mode="$mode$">$mode$</span>$endif$
|
||||
$if(session)$ <span>session $session$</span>$endif$
|
||||
</span>
|
||||
$if(status)$ <span data-status="$status$">$status$</span>$endif$
|
||||
</div>
|
||||
$endif$
|
||||
|
||||
$-- Tags $
|
||||
$if(tags)$
|
||||
<nav aria-label="tags">
|
||||
$for(tags)$ <a data-tag href="/tags/$tags$">$tags$</a>
|
||||
$endfor$ </nav>
|
||||
$endif$
|
||||
|
||||
</header>
|
||||
$endif$
|
||||
|
||||
$-- Main content — layout from frontmatter or default to prose $
|
||||
<main$if(layout)$ data-layout="$layout$"$else$ data-layout="prose"$endif$$if(status)$ data-status="$status$"$endif$>
|
||||
$body$
|
||||
</main>
|
||||
|
||||
$-- Footer $
|
||||
$if(date)$
|
||||
<footer>
|
||||
<small>
|
||||
$if(date)$ <time datetime="$date$">$date$</time>$endif$
|
||||
$if(author)$ · $for(author)$$author$$sep$, $endfor$$endif$
|
||||
</small>
|
||||
</footer>
|
||||
$endif$
|
||||
|
||||
$if(include-after)$$include-after$$endif$
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue