pages/_includes
Carlos Morales 951ae92858
Fix default highlighting (#931)
The default setting `media="none"` disables code highlighting. This
works OK when we have `enable_darkmode: true` in `config.yml` as the
code handling the dark/light theme switching takes care of setting
`media=""` for the preferred theme.
However, setting `enable_darkmode: false` prevents importing `theme.js`
which in turn prevents said change thus the default highlighting stays
disabled.
Setting `media=""` by default enables the default highlighting when
`enable_darkmode` is false.

Fixes #929
2022-10-10 22:13:59 +05:30
..
cv Add support for CV (#628) 2022-06-25 18:58:59 -04:00
repository Adds support for repositories (#760) 2022-07-24 22:45:39 +05:30
scripts Adds support for GA4 Google Analytics (#727) 2022-07-26 08:59:57 +05:30
figure.html Fix responsive image (#748) 2022-07-08 21:41:36 +05:30
footer.html Better SEO, OpenGraph, schema.org and clean generated code (#481) 2021-12-31 11:46:42 -05:00
head.html Fix default highlighting (#931) 2022-10-10 22:13:59 +05:30
header.html Fix title spaces and a few links (#789) 2022-07-28 21:54:58 +05:30
metadata.html add more social media (#878) 2022-09-14 08:13:46 +05:30
news.html Adds vertical scrollbar to news (#729) 2022-06-27 09:37:28 +05:30
pagination.html Better SEO, OpenGraph, schema.org and clean generated code (#481) 2021-12-31 11:46:42 -05:00
projects_horizontal.html fix #814 (#818) 2022-08-15 08:40:12 +05:30
projects.html Theme and responsiveness fixes (#509) 2022-02-19 20:46:45 -05:00
selected_papers.html Better SEO, OpenGraph, schema.org and clean generated code (#481) 2021-12-31 11:46:42 -05:00
social.html add more social media (#878) 2022-09-14 08:13:46 +05:30