David Larlet
ec7f0fd736
Mastodon attribution
2 週之前
David Larlet
b1c01c9505
Article
6 月之前
David Larlet
97029250a1
Article
7 月之前
David Larlet
937b9eafc7
Article
8 月之前
David Larlet
20f3ba287c
Hover
8 月之前
David Larlet
cb919c6236
Reorder head elements
cf. https://frontendmasters.com/blog/capo-js-a-five-minute-web-performance-boost/
https://rviscomi.github.io/capo.js/user/demo/
8 月之前
David Larlet
c42c43e22f
Article
8 月之前
David Larlet
2c03d06059
Article
9 月之前
David Larlet
82a52cf69e
Article
9 月之前
David Larlet
540e6140dd
Article
9 月之前
David Larlet
1da67e79c7
CSS
9 月之前
David Larlet
95eed4c1dd
Article
10 月之前
David Larlet
0d0950c1e2
Article
10 月之前
David Larlet
57c46dc058
Article
10 月之前
David Larlet
88ad12e677
Article
10 月之前
David Larlet
56cc014aa5
CSS
10 月之前
David Larlet
1abe49cb4d
New home
10 月之前
David Larlet
3d5e67b109
Tags 2024
10 月之前
David Larlet
37e847a6e2
Article
10 月之前
David Larlet
361de8266f
Article
10 月之前
David Larlet
d194e72d7f
Article
10 月之前
David Larlet
c7ed8118bf
Article
10 月之前
David Larlet
a32b386d47
Article
10 月之前
David Larlet
8308ba26df
Article
10 月之前
David Larlet
f0cd31ab70
shAItshow
1 年之前
David Larlet
fc7bc78fb9
Switch to pyproject, ruff, djlint, modern stack
1 年之前
David Larlet
7e12cb7843
Implementing a search page for the 3 last years
2 年之前
David Larlet
3cf85d8554
Flush icons cache in templates
3 年之前
David Larlet
27da7cf951
Reverting 1c85730e15a0525cf1ac683423ae3bb09c51fd7e
Thanks to Anthhony, I now have a better option 🙇
Using `<script>toggleTheme('dark')</script>` directly from the markdown given it's already availale from the head declaration. As a bonus, we don't mess with user's preferences for other pages.
3 年之前
David Larlet
1c85730e15
Ability to select a given theme from the markdown
3 年之前
David Larlet
4fe507d6a2
Playing with theme-color property for Safari
3 年之前
David Larlet
c85d98b4ba
Fix a crazy bug, thanks Ronan!
It appears that some parsers are trying to retrieve the title of a page without striping off HTML comments first.
This is stupidily funny :)
3 年之前
David Larlet
a98e8c5212
Follow thalidalidalida follow thalida
3 年之前
David Larlet
a5f821372a
Publishing + SVG icons
3 年之前
David Larlet
35f4d141aa
A different emphasis for 2021, why not
3 年之前
David Larlet
246dc53544
Publishing PresQuotidien
3 年之前
David Larlet
27e8194c42
Add html5 tags + meta description
4 年之前
David Larlet
c6be68cb9d
Update to instant.page 5.1.0 + prefetch in viewport
4 年之前
David Larlet
5ab7a178c2
Iteration on theme selection
4 年之前
David Larlet
35655abca0
Try to avoid the FODT on dark theme selection
“Flash Of Default Theme”
See https://mxb.dev/blog/color-theme-switcher/
I had to move the theme definition to the html element (vs. body) with the side-effect to have a consistent scrollbar color.
4 年之前
David Larlet
e7d7e250fc
Review by Anthony: better variable naming
4 年之前
David Larlet
3f200d1f00
Generalize the theme chooser and store choice
Stored using localStorage
4 年之前
David Larlet
843583d0ad
Add a link to the feed to all page/head elements
Somehow, I managed to forget that essential line…
4 年之前
David Larlet
28ceaf2e12
More extracts from Tesson
4 年之前
David Larlet
d4dc6f1821
Iterating on theme chooser
4 年之前
David Larlet
79447848e5
First iteration on theme selector with Anthony
4 年之前
David Larlet
53f8dce943
Iteration on dark mode
4 年之前
David Larlet
957a25397f
Update style for dark mode
4 年之前
David Larlet
24a18fef07
Update styles
4 年之前
David Larlet
549b87e155
Updating style
4 年之前