52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
-
+
-
+
|
(define (html$-page-body-open)
◊string-append{<body><main>
<a href="/"><header>
<img src="/web-extra/logo.png" height="103" width="129" class="logo">
<h1>The Local Yarn</h1>
</header></a>})
(define (html$-article-open title? title-html-flow published)
(define (html$-article-open title? title-tx published)
(cond
[title?
◊string-append{<article class="with-title hentry">
<h1 class="entry-title">◊|title-html-flow|</h1>
◊(->html `(h1 [[class "entry-title"]] ,@(get-elements title-tx)))
<p class="time"><a href="#" class="rel-bookmark">
<time datetime="◊published" class="published">◊ymd->english[published]</time>
</a></p>
<section class="entry-content">}]
[else
◊string-append{<article class="no-title hentry">
<h1><a href="#" class="rel-bookmark">
|