◊(Local Yarn Code "Check-in [9998fecb]")

Overview
Comment:Render home page from pollen/markup (Fixes [629a9c063beb5809])
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA3-256: 9998fecb3525b09e0d93c7ba53af05461d2da09358c6bc77ef8a11ce1c4665a8
User & Date: joel on 2020-05-11 02:01:46
Other Links: manifest | tags
Context
2020-05-11
02:01
Render home page from pollen/markup (Fixes [629a9c063beb5809]) Leaf check-in: 9998fecb user: joel tags: trunk
01:59
No empty “Further Notes” sections check-in: 542a013e user: joel tags: trunk
Changes

Modified index-template.html.p from [c03f431c] to [35c2e51e].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
..
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83

84
85
86
87
88
89
90
91
92
#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 pollen/tag)
            
<!DOCTYPE html>
<html lang="en">
◊html$-page-head["The Local Yarn" #f]
<style>
  header#front-page {
    text-align: center;
  }
................................................................................
</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.


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

<main>


<div id="intro"> ◊(->html front-page-body #:splice? #t) </div>

<div style="text-align: center">
<br><span class="caps"><a href="/blog-pg1.html">The Blog</a> &middot;
<a href="/keyword-index.html">Keyword Index</a></span>

</div>

<
<


<
<
<







 







<

<
<
<
<
<
<
<
<
<

>

|









1
2



3
4
5
6
7
8
9
..
60
61
62
63
64
65
66

67









68
69
70
71
72
73
74
75
76
77
78


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



<!DOCTYPE html>
<html lang="en">
◊html$-page-head["The Local Yarn" #f]
<style>
  header#front-page {
    text-align: center;
  }
................................................................................
</style>
</head>

<body style="overflow-x:hidden; hyphens: auto">
 <header id="front-page"><div>
 <h1 class="site-title">The Local Yarn</h1>
 </div></header>











<main>
◊(cache-index-entries-only! "Home page" here doc)

<div id="intro"> ◊(->html doc #:splice? #t) </div>

<div style="text-align: center">
<br><span class="caps"><a href="/blog-pg1.html">The Blog</a> &middot;
<a href="/keyword-index.html">Keyword Index</a></span>

</div>

Added index.html.pm version [2b989fe2].























>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
#lang pollen

◊(define-meta template "index-template.html")

◊(require pollen/tag)
◊(define img (default-tag-function 'img))

◊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.

Modified makefile from [37817015] to [1b9cfddb].

52
53
54
55
56
57
58
59
60
61
62
63
64
65
66

# Note that if any article is part of a series, it will touch its series .poly.pm file during its
# render, triggering this rule for that series.
$(series-html): %.html: %.poly.pm
	raco pollen render $@
	tidy -quiet -modify -indent --wrap 100 --wrap-attributes no --tidy-mark no $@ || true

index.html: $(core-files) $(html-deps) $(series-html) index.html.pp
	raco pollen render index.html
	fossil uv add scribbled/site-footer.html

# This target will also rebuild pg2, pg3, etc. as needed
blog-pg1.html: $(core-files) $(html-deps) $(articles-html) blog.rkt
	rm -f blog*.html
	racket -tm blog.rkt







|







52
53
54
55
56
57
58
59
60
61
62
63
64
65
66

# Note that if any article is part of a series, it will touch its series .poly.pm file during its
# render, triggering this rule for that series.
$(series-html): %.html: %.poly.pm
	raco pollen render $@
	tidy -quiet -modify -indent --wrap 100 --wrap-attributes no --tidy-mark no $@ || true

index.html: $(core-files) $(html-deps) $(series-html) index-template.html.p index.html.pm
	raco pollen render index.html
	fossil uv add scribbled/site-footer.html

# This target will also rebuild pg2, pg3, etc. as needed
blog-pg1.html: $(core-files) $(html-deps) $(articles-html) blog.rkt
	rm -f blog*.html
	racket -tm blog.rkt