dcb0add47b
Improved the data structure for defining resource hints to the browser.
58 lines
2 KiB
YAML
58 lines
2 KiB
YAML
# Resource Hints
|
|
resource_hints:
|
|
- url: https://fonts.googleapis.com
|
|
links:
|
|
- rel: preconnect
|
|
- rel: dns-prefetch
|
|
- url: https://fonts.gstatic.com
|
|
links:
|
|
- rel: preconnect
|
|
opts: [crossorigin]
|
|
- rel: dns-prefetch
|
|
- url: https://cdn.jsdelivr.net
|
|
links:
|
|
- rel: preconnect
|
|
- rel: dns-prefetch
|
|
|
|
# Web Fonts
|
|
webfonts: https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Source+Sans+Pro:wght@400;600;700;900&display=swap
|
|
|
|
# Libraries
|
|
|
|
bootstrap:
|
|
css: https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css
|
|
js: https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js
|
|
|
|
toc:
|
|
css: https://cdn.jsdelivr.net/npm/tocbot@4.25.0/dist/tocbot.min.css
|
|
js: https://cdn.jsdelivr.net/npm/tocbot@4.25.0/dist/tocbot.min.js
|
|
|
|
fontawesome:
|
|
css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.1/css/all.min.css
|
|
|
|
search:
|
|
js: https://cdn.jsdelivr.net/npm/simple-jekyll-search@1.10.0/dest/simple-jekyll-search.min.js
|
|
|
|
mermaid:
|
|
js: https://cdn.jsdelivr.net/npm/mermaid@10.8.0/dist/mermaid.min.js
|
|
|
|
dayjs:
|
|
js:
|
|
common: https://cdn.jsdelivr.net/npm/dayjs@1.11.10/dayjs.min.js
|
|
locale: https://cdn.jsdelivr.net/npm/dayjs@1.11.10/locale/:LOCALE.min.js
|
|
relativeTime: https://cdn.jsdelivr.net/npm/dayjs@1.11.10/plugin/relativeTime.min.js
|
|
localizedFormat: https://cdn.jsdelivr.net/npm/dayjs@1.11.10/plugin/localizedFormat.min.js
|
|
|
|
glightbox:
|
|
css: https://cdn.jsdelivr.net/npm/glightbox@3.3.0/dist/css/glightbox.min.css
|
|
js: https://cdn.jsdelivr.net/npm/glightbox@3.3.0/dist/js/glightbox.min.js
|
|
|
|
lazy-polyfill:
|
|
css: https://cdn.jsdelivr.net/npm/loading-attribute-polyfill@2.1.1/dist/loading-attribute-polyfill.min.css
|
|
js: https://cdn.jsdelivr.net/npm/loading-attribute-polyfill@2.1.1/dist/loading-attribute-polyfill.umd.min.js
|
|
|
|
clipboard:
|
|
js: https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js
|
|
|
|
mathjax:
|
|
js: https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js
|