◊(Local Yarn Code "Check-in [19db9f05]")

Overview
Comment:Define img tag function explicitly for home page (since unbound ids aren't allowed anymore)
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 19db9f05d041fbf369d6aa3f3348b410b4f1914c65c00a64f00e366eb8b6a37a
User & Date: joel on 2020-05-04 01:54:03
Other Links: manifest | tags
Context
2020-05-04
01:56
Hack: ensure pollen.rkt and deps are precompiled before cache preheat check-in: 795da342 user: joel tags: trunk
01:54
Define img tag function explicitly for home page (since unbound ids aren't allowed anymore) check-in: 19db9f05 user: joel tags: trunk
01:43
Don't allow unbound ids to be used as tag functions check-in: 5cdf3aa9 user: joel tags: trunk
Changes

Modified index.html.pp from [456776fa] to [c03f431c].

1
2
3
4
5
6

7
8
9
10
11
12
13
1
2
3
4
5

6
7
8
9
10
11
12
13





-
+







#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 racket/file)
◊(require pollen/template racket/file pollen/tag)
            
<!DOCTYPE html>
<html lang="en">
◊html$-page-head["The Local Yarn" #f]
<style>
  header#front-page {
    text-align: center;
65
66
67
68
69
70
71

72
73
74
75
76
77
78
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79







+







</style>
</head>

<body style="overflow-x:hidden; hyphens: auto">
 <header id="front-page"><div>
 <h1 class="site-title">The Local Yarn</h1>
 </div></header>
◊(define img (default-tag-function 'img))

◊(define front-page-body ◊root{
 ◊img[#:id "front-page-logo" #:src "/web-extra/mark.svg"] is the end of the ◊index{thread} that you
 can pick or pluck, the forked ribbon tracing into the bookshelf, your own or someone else’s.
 ◊em{We’ve seen this before} says the voice on the other◊'|nbsp|end.