Skip to main content

max / makenotwork

Drop the duplicate reader footer from 15 templates Every page carrying <footer class="text-reader-footer"> also extends base.html, which already renders site-footer, so all 17 shipped two footers stacked. On 15 of them the second one held a single link home, with markup identical to the wordmark that site_header.html already puts at the top of the same page. A duplicate of the header, rendered as a second footer. The task called this an include; it is not. The block was pasted inline into each template, which is why the variants below diverged without anything noticing. blog_post.html and text_reader.html keep theirs for now. Those two carry a data-copy-link "Copy link" affordance that site-footer has no way to offer, since it is global chrome and the link needs the current item or post. Merging it upward is not possible without threading optional context through base.html, so the two reader pages are left as they are and the affordance is not lost.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-05 21:23 UTC
Signed with PGP, not checked
Commit: 5d7533db05150c3b4c8ab872438178e45b7b0ef4
Parent: 39dd934
15 files changed, +0 insertions, -45 deletions
@@ -34,9 +34,6 @@
34 34 {% endif %}
35 35 </article>
36 36
37 - <footer class="text-reader-footer">
38 - <a href="/">Makenot<span class="dot">.</span>work</a>
39 - </footer>
40 37
41 38 <script src="/static/docs-search.js"></script>
42 39 {% endblock %}
@@ -40,9 +40,6 @@
40 40 {% endfor %}
41 41 </div>
42 42
43 - <footer class="text-reader-footer">
44 - <a href="/">Makenot<span class="dot">.</span>work</a>
45 - </footer>
46 43
47 44 <script src="/static/docs-search.js"></script>
48 45 {% endblock %}
@@ -105,9 +105,6 @@
105 105 </div>
106 106 </article>
107 107
108 - <footer class="text-reader-footer">
109 - <a href="/">Makenot<span class="dot">.</span>work</a>
110 - </footer>
111 108
112 109 <script src="/static/docs-search.js"></script>
113 110 {% endblock %}
@@ -50,7 +50,4 @@
50 50 </table>
51 51 </div>
52 52
53 - <footer class="text-reader-footer">
54 - <a href="/">Makenot<span class="dot">.</span>work</a>
55 - </footer>
56 53 {% endblock %}
@@ -83,7 +83,4 @@
83 83 </div>
84 84 {% endfor %}
85 85
86 - <footer class="text-reader-footer">
87 - <a href="/">Makenot<span class="dot">.</span>work</a>
88 - </footer>
89 86 {% endblock %}
@@ -41,7 +41,4 @@
41 41 {% endif %}
42 42 </div>
43 43
44 - <footer class="text-reader-footer">
45 - <a href="/">Makenot<span class="dot">.</span>work</a>
46 - </footer>
47 44 {% endblock %}
@@ -37,7 +37,4 @@
37 37 </div>
38 38 {% endif %}
39 39
40 - <footer class="text-reader-footer">
41 - <a href="/">Makenot<span class="dot">.</span>work</a>
42 - </footer>
43 40 {% endblock %}
@@ -54,7 +54,4 @@
54 54 <script src="/static/page-git-file.js?v=0623" defer></script>
55 55 {% endif %}
56 56
57 - <footer class="text-reader-footer">
58 - <a href="/">Makenot<span class="dot">.</span>work</a>
59 - </footer>
60 57 {% endblock %}
@@ -58,7 +58,4 @@
58 58 </div>
59 59 {% endif %}
60 60
61 - <footer class="text-reader-footer">
62 - <a href="/">Makenot<span class="dot">.</span>work</a>
63 - </footer>
64 61 {% endblock %}
@@ -57,7 +57,4 @@
57 57 <p class="issue-email-hint">To comment, reply to the notification email. To report a new issue, email <code>{{ email_address }}</code>.</p>
58 58 </div>
59 59
60 - <footer class="text-reader-footer">
61 - <a href="/">Makenot<span class="dot">.</span>work</a>
62 - </footer>
63 60 {% endblock %}
@@ -78,7 +78,4 @@
78 78 </div>
79 79 {% endif %}
80 80
81 - <footer class="text-reader-footer">
82 - <a href="/">Makenot<span class="dot">.</span>work</a>
83 - </footer>
84 81 {% endblock %}
@@ -99,7 +99,4 @@
99 99 </div>
100 100 {% endif %}
101 101
102 - <footer class="text-reader-footer">
103 - <a href="/">Makenot<span class="dot">.</span>work</a>
104 - </footer>
105 102 {% endblock %}
@@ -37,7 +37,4 @@
37 37 </ul>
38 38 {% endif %}
39 39
40 - <footer class="text-reader-footer">
41 - <a href="/">Makenot<span class="dot">.</span>work</a>
42 - </footer>
43 40 {% endblock %}
@@ -78,7 +78,4 @@
78 78 </div>
79 79 </div>
80 80
81 - <footer class="text-reader-footer">
82 - <a href="/">Makenot<span class="dot">.</span>work</a>
83 - </footer>
84 81 {% endblock %}
@@ -71,7 +71,4 @@
71 71 </tbody>
72 72 </table>
73 73
74 - <footer class="text-reader-footer">
75 - <a href="/">Makenot<span class="dot">.</span>work</a>
76 - </footer>
77 74 {% endblock %}