writeonce/docs/examples/shop/layout/app.html
shoney.arickathil 9532116243 feat(shop): story-37 target templates beside the hand-lowering
- view.html per feature + layout app/header/footer.html: the markup-
  first form woc will compile ({{}} auto-escaped, w:if/w:for,
  {!! !!} slots, w:component sections); inert today, verified not to
  disturb the build
- README: pair is the DX referendum — .html is the target feel,
  view.wo is today's cost; doctrine line reworded (templates compile
  or don't exist)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-24 00:01:11 +02:00

20 lines
635 B
HTML

<!-- layout/app.html — STORY 37's TARGET for the app shell: the document
every page shares. {!! !!} slots take prebuilt fragments (header,
footer, the page content); app.wo is the hand-lowered equivalent. -->
<template w:component="AppShell">
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>{{ self.title }}</title>
<link rel="stylesheet" href="/assets/style.css">
</head>
<body>
{!! self.header !!}
<main class="site-main">{!! self.content !!}</main>
{!! self.footer !!}
</body>
</html>
</template>