writeonce/docs/examples/shop/layout/footer.wo
shoney.arickathil bbf5fb66d3 feat(shop): 37 target = in-class raw template literals (developer form)
- separate view.html files dropped; every render() now carries its
  '-- 37 target:' literal above the hand-lowered body — the pair is
  the DX referendum in one file
- story 37 re-pointed: raw multi-line literal + {{ }} auto-escaped
  typed holes + {!! !!} raw slots; structural control stays if/for;
  w:if/w:for and .html files demoted to later; forks revised
- rebuild verified on untouched toolchain

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

8 lines
337 B
Text

-- layout/footer.wo — the footer fragment (footer.html's analog).
use html
-- 37 target:
-- return `<footer class="site-footer">writeonce shop — one binary: server, database, these pages.</footer>`;
pub fn footer() -> Text {
return el("footer", "site-footer", "writeonce shop — one binary: server, database, these pages.");
}