◊(Local Yarn Code "Diff")

Differences From Artifact [930470e2]:

To Artifact [6ce20187]:


1
2
3
4
5
6
7
8
9
10


11
12
13
14
15
1
2
3
4
5
6
7
8


9
10
11
12
13
14
15








-
-
+
+





#lang pollen

◊; SPDX-License-Identifier: BlueOak-1.0.0
◊; This file is licensed under the Blue Oak Model License 1.0.0.

◊(require pollen/template db/base racket/list racket/match)

◊(define (fetch-series)
  (define q "SELECT noun_plural, pagenode, title FROM series ORDER BY noun_plural DESC")
  (query-rows (sqltools:dbc) q))
  (define q "SELECT noun_plural, page, title FROM series ORDER BY noun_plural DESC")
  (query-rows cache-conn q))

◊(define (series-item->txpr s)
  (match-define (list n pagenode title) s)
  `(li (a [[href ,pagenode]] (i ,title))))

86
87
88
89
90
91

92
93
94
95
96
97
98
86
87
88
89
90

91
92
93
94
95
96
97
98





-
+







collections:

◊url[1]{/blog-pg1.html}

}) 
◊(crystalize-index-entries! '|index.html| front-page-body)
; stop for now: (crystalize-index-entries! '|index.html| front-page-body)

<main> 
  ◊(->html front-page-body #:splice? #t)
  ◊(->html (series-grouped-list))
</main> 
</body>
</html>