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.
pirms 3 gadiem
David Larlet
1c85730e15
Ability to select a given theme from the markdown
pirms 3 gadiem
David Larlet
77e0f47d30
Generating with new theme-color
pirms 3 gadiem
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 :)
pirms 3 gadiem
David Larlet
a98e8c5212
Follow thalidalidalida follow thalida
pirms 3 gadiem
David Larlet
a5f821372a
Publishing + SVG icons
pirms 3 gadiem
David Larlet
5c0c1e7585
Ajout d’espaces insécables fines ou pas
pirms 3 gadiem
David Larlet
35f4d141aa
A different emphasis for 2021, why not
pirms 3 gadiem
David Larlet
6b7ac79aa8
Publishing
pirms 3 gadiem
David Larlet
f16aada5e3
Publishing
pirms 3 gadiem
David Larlet
9707518677
Publishing
pirms 3 gadiem
David Larlet
7498a5adae
Publishing
pirms 3 gadiem
David Larlet
246dc53544
Publishing PresQuotidien
pirms 3 gadiem
David Larlet
27e8194c42
Add html5 tags + meta description
pirms 4 gadiem
David Larlet
c6be68cb9d
Update to instant.page 5.1.0 + prefetch in viewport
pirms 4 gadiem
David Larlet
5ab7a178c2
Iteration on theme selection
pirms 4 gadiem
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.
pirms 4 gadiem
David Larlet
e7d7e250fc
Review by Anthony: better variable naming
pirms 4 gadiem
David Larlet
3f200d1f00
Generalize the theme chooser and store choice
Stored using localStorage
pirms 4 gadiem
David Larlet
843583d0ad
Add a link to the feed to all page/head elements
Somehow, I managed to forget that essential line…
pirms 4 gadiem
David Larlet
28ceaf2e12
More extracts from Tesson
pirms 4 gadiem
David Larlet
d4dc6f1821
Iterating on theme chooser
pirms 4 gadiem
David Larlet
79447848e5
First iteration on theme selector with Anthony
pirms 4 gadiem
David Larlet
53f8dce943
Iteration on dark mode
pirms 4 gadiem
David Larlet
957a25397f
Update style for dark mode
pirms 4 gadiem
David Larlet
24a18fef07
Update styles
pirms 4 gadiem
David Larlet
549b87e155
Updating style
pirms 4 gadiem
David Larlet
5e8718365c
Update styles
pirms 4 gadiem
David Larlet
306ec74076
Drafting Service
pirms 4 gadiem
David Larlet
4a1ae64e51
Update viewport meta for 2020
pirms 4 gadiem
David Larlet
de4c45ff8b
Styling of abbr tags
pirms 4 gadiem
David Larlet
dc5b3316ca
Add favicons
pirms 4 gadiem
David Larlet
c127f99b46
Add instantpage
pirms 4 gadiem
David Larlet
33315417d9
Bump style
pirms 4 gadiem
David Larlet
fad52f27ac
More semantic markup (what a mess)
pirms 4 gadiem
David Larlet
0378d347ab
Put cache from 2020 in a dedicated folder
pirms 4 gadiem
David Larlet
620133d128
Apply pre-tick style to all pages
pirms 4 gadiem
David Larlet
9199a3fa6a
Yet another iteration on style
pirms 4 gadiem
David Larlet
5dc4f70672
Iteration on design line-height
pirms 4 gadiem
David Larlet
ef6328213e
Iteration on 2020 design
pirms 4 gadiem
David Larlet
284f4dbd3c
Update italic font preload
pirms 4 gadiem
David Larlet
55453fa9e2
Update design 2020
pirms 4 gadiem
David Larlet
d5b1dc8539
Unify 2020 templates footer
pirms 4 gadiem
David Larlet
2f5cab4393
Implementing Pages
pirms 4 gadiem