Overview
| Comment: | Merge updates from trunk |
|---|---|
| Timelines: | family | ancestors | descendants | both | doc-expansion |
| Files: | files | file ages | folders |
| SHA3-256: |
e52e53c80aeef022515d121a19b92ec9 |
| User & Date: | joel on 2020-02-10 21:15:32 |
| Other Links: | branch diff | manifest | tags |
Context
|
2020-02-12
| ||
| 21:12 | Don’t clobber the footer when rebuilding code docs check-in: c8354d62 user: joel tags: doc-expansion | |
|
2020-02-10
| ||
| 21:15 | Merge updates from trunk check-in: e52e53c8 user: joel tags: doc-expansion | |
| 17:28 | Improved footer check-in: 75502f96 user: joel tags: trunk | |
|
2020-01-19
| ||
| 20:49 | scribble edits check-in: ead156b1 user: joel tags: doc-expansion | |
Changes
Modified blog.rkt from [1dda01dc] to [75b9d900].
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - + + | #lang pollen/mode racket/base ; SPDX-License-Identifier: BlueOak-1.0.0 ; This file is licensed under the Blue Oak Model License 1.0.0. ;; Builds the paginated “blog” HTML files (blog-pg1.html ...) from the SQLite cache ;; The files will be written out every time this module is evaluated! (see end) |
| ︙ | |||
34 35 36 37 38 39 40 41 42 43 44 45 46 47 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | + |
<nav id="bottom-nav"><ul>◊|page-nav|</ul></nav>
◊html$-page-body-close[]
</html>})
;; Grabs all the articles+notes from the cache and writes out all the blog page files
(define (build-blog)
(listing-context 'blog) ; honor conceal directives for the blog
(define arts-n-notes (slice-at (listing-htmls (articles+notes 'full #:series #f)) per-page))
(define pagecount (length arts-n-notes))
(for ([pagenum (in-range 1 (+ 1 pagecount))]
[page (in-list arts-n-notes)])
(define filename (format "blog-pg~a.html" pagenum))
(displayln (format "Writing: ~a" filename))
|
| ︙ |
Added cache.rkt version [42c939a6].