Overview
| Comment: | Fix disposition links in article headings when they appear in listings |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
4206e0acb1f8c3ba8abf6554360d5b16 |
| User & Date: | joel on 2019-06-20 00:20:10 |
| Other Links: | manifest | tags |
Context
|
2019-06-20
| ||
| 00:33 | Fix CSS selector check-in: 74bf6fa0 user: joel tags: trunk | |
| 00:20 | Fix disposition links in article headings when they appear in listings check-in: 4206e0ac user: joel tags: trunk | |
|
2019-06-19
| ||
| 23:51 | Makefile: include CSS target, turn off tidy for now since it breaks relativizing check-in: 2894ef67 user: joel tags: trunk | |
Changes
Modified crystalize.rkt from [297d7e43] to [e76d71c3].
| ︙ | |||
120 121 122 123 124 125 126 | 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | - + |
(define-values (disposition disp-note-id)
(notes->last-disposition-values note-txprs))
(let* ([pubdate (select-from-metas 'published (current-metas))]
[doc-html (->html body-txpr #:splice? #t)]
[title-specified? (not (equal? '() maybe-title))]
[title-val (if (not (null? maybe-title)) (car maybe-title) (check-for-poem-title doc))]
|
| ︙ | |||
230 231 232 233 234 235 236 | 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | - + - + + + |
(equal? 'p (get-tag e2))
(attrs-have-key? e2 'class)
(string=? "verse-heading" (attr-ref e2 'class)))
`(title (span [[class "smallcaps"]] "‘" ,@(get-elements e2) "’"))]
[else '()]))
;; Return a title txexpr for the current article, constructing a default if no title text was specified.
|
| ︙ |
Modified web-extra/martin.css.pp from [5317e3fa] to [8583f65e].
| ︙ | |||
587 588 589 590 591 592 593 | 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 | - + |
display: none;
}
div.note + div.note {
margin-top: ◊x-lineheight[2];
}
|
| ︙ |