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
77e0f47d30
Generating with new theme-color
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
b0379c98a8
Publishing
3 年之前
David Larlet
cace4cae79
Publishing
3 年之前
David Larlet
60ce4a0ed1
Publishing
3 年之前
David Larlet
a5a867a014
Publishing
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 年之前
David Larlet
5e8718365c
Update styles
4 年之前
David Larlet
306ec74076
Drafting Service
4 年之前
David Larlet
4a1ae64e51
Update viewport meta for 2020
4 年之前
David Larlet
de4c45ff8b
Styling of abbr tags
4 年之前
David Larlet
dc5b3316ca
Add favicons
4 年之前
David Larlet
c127f99b46
Add instantpage
4 年之前
David Larlet
33315417d9
Bump style
4 年之前
David Larlet
fad52f27ac
More semantic markup (what a mess)
4 年之前
David Larlet
0378d347ab
Put cache from 2020 in a dedicated folder
4 年之前
David Larlet
620133d128
Apply pre-tick style to all pages
4 年之前
David Larlet
9199a3fa6a
Yet another iteration on style
4 年之前
David Larlet
5dc4f70672
Iteration on design line-height
4 年之前
David Larlet
ef6328213e
Iteration on 2020 design
4 年之前
David Larlet
284f4dbd3c
Update italic font preload
4 年之前
David Larlet
55453fa9e2
Update design 2020
4 年之前
David Larlet
d5b1dc8539
Unify 2020 templates footer
4 年之前
David Larlet
2f5cab4393
Implementing Pages
4 年之前