Overview
Comment: | Add version control links to notes [678cc6aeca1d9d31] |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
56b50a383e02c687efd3ee6cecb9ee85 |
User & Date: | joel on 2020-03-14 21:32:58 |
Other Links: | manifest | tags |
Context
2020-03-14
| ||
22:13 | Debugging whoopsie check-in: ed07797d user: joel tags: trunk | |
21:32 | Add version control links to notes [678cc6aeca1d9d31] check-in: 56b50a38 user: joel tags: trunk | |
20:48 | Add quote from Thomas Macaulay check-in: 7047176b user: joel tags: trunk, content | |
Changes
Modified crystalize.rkt from [ffde9e3c] to [121eb65c].
︙ | |||
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | + + | disposition-attr)) (define-values (disp-mark disp-verb) (disposition-values disposition-attr)) (let* ([note-id (build-note-id note-tx)] [title-tx (make-note-title pagenode parent-title-plain)] [title-html (->html title-tx #:splice? #t)] [author (maybe-attr 'author attrs default-authorname)] [author-url (maybe-attr 'author-url attrs)] [note-srcline (maybe-attr 'srcline attrs)] [content-html (html$-note-contents disp-mark disp-verb elems)] [listing-full (html$-note-listing-full pagenode note-id title-html note-date note-srcline content-html author author-url)]) (insert-one! (cache-conn) (make-cache:note #:page pagenode #:html-anchor note-id |
︙ |
Modified dust.rkt from [eb603279] to [43068c7c].
| 1 2 3 4 5 6 7 8 | - + |
|
︙ | |||
127 128 129 130 131 132 133 | 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | - + | (when (file-exists? series-file) (case (system-type 'os) [(windows) (system (format "type nul >> ~a" series-file))] [else (system (format "touch ~a" series-file))])))) ;; Determine if the current article has been checked into Fossil repo (define (checked-in?) |
︙ |
Modified pollen.rkt from [d1969801] to [ecc1875a].
︙ | |||
110 111 112 113 114 115 116 | 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | - + + + + + + + | (poly-branch-tag link) (poly-branch-tag url) (poly-branch-tag xref) (poly-branch-tag fn) (poly-branch-tag fndef) |
Modified snippets-html.rkt from [b8d08650] to [79ce1a10].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - | #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. ;; Provides functions for displaying content in HTML templates. (require pollen/template |
︙ | |||
43 44 45 46 47 48 49 | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | - + + - + | (define body-class (if (non-empty-string? class) (format " class=\"~a\"" class) "")) ◊string-append{<body◊|body-class|><main> <a href="/index.html"><header> <img src="/web-extra/mark.svg" alt="The Local Yarn" height="103" class="logo"> <h1>The Local Yarn</h1> </header></a>}) |
︙ | |||
131 132 133 134 135 136 137 | 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | - + + + | [(and (block-txexpr? (car elems)) (non-empty-string? disposition-mark)) (define-values (first-tag first-attrs first-elems) (txexpr->values (car elems))) (cons (txexpr first-tag first-attrs (cons disposition first-elems)) (cdr elems))] [else (cons disposition elems)])) (string-append* (map ->html body-elems))) |
︙ |
Modified tags-html.rkt from [6b6aeed1] to [d6b064c2].
︙ | |||
76 77 78 79 80 81 82 | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | - + | html-verse html-attrib html-link html-xref html-url html-fn html-fndef |
︙ | |||
259 260 261 262 263 264 265 | 259 260 261 262 263 264 265 266 267 | - + | `(a [[href ,(string-append "#" (fn-id fn-name) (format "~a" (+ 1 fnref-num)))]] "↩"))]) `(li [[id ,(fndef-id fn-name)]] ,@definition-text ,@backrefs)))) (cond [(null? note-items) ""] [else `(section ((class "footnotes")) (hr) (ol ,@note-items))])) |
Modified web-extra/martin.css.pp from [49239008] to [883c8985].
︙ | |||
889 890 891 892 893 894 895 896 897 898 899 900 | 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 | + + + + - | } .scm-links { float: none; grid-area: rightmargin; height: 100%; } article.with-title .scm-links { grid-area: title; } .scm-links a:hover { color: #2176ff; background: none; } |
︙ |