Skip to content
Myr

_head.html.j2

This file

Path

docs/templates/shared/_head.html.j2

28 lines · 1.6 KiB

Last changed by

website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff

History of this file

Take it

The walk stopped after 200 commits: lines older than fa6a2ff point at it.

website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff

lines 1–28why, one step back
1 <head>
2 <meta charset="utf-8">3 <title>{{ headline }}</title>4 <meta name="viewport" content="width=device-width, initial-scale=1">5 <meta property="og:title" content="{{ headline }}">6 <meta property="og:description" content="jq is a lightweight and flexible command-line JSON processor">7 <meta property="og:type" content="website">8 <meta property="og:image" content="{{ url }}/icon.png">9 <meta property="og:url" content="{{ url }}/{{ permalink }}">10 <link rel="icon" href="/icon.svg" type="image/svg+xml">11 <link rel="apple-touch-icon" href="/icon.png" type="image/png">12 <link rel="canonical" href="{{ url }}/{{ permalink }}">13 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootswatch@5.3.1/dist/cosmo/bootstrap.min.css"14 integrity="sha384-dulfW0vmzZ638jigSgZXvDxMmd70GCnIv6oa+riKq6Kk4E0MKf7qmBfwP02wltv5" crossorigin="anonymous">15 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"16 integrity="sha384-Ay26V7L8bsJTsX9Sxclnvsn+hkdiwRnrjZJXqKmkIDobPgIIWBOVguEcQQLDuhfN" crossorigin="anonymous">17 <link rel="stylesheet" href="/css/style.css" type="text/css">18 <script>19 (function() {20 function setTheme(mediaQuery) {21 document.documentElement.setAttribute('data-bs-theme',22 document.documentElement.style.colorScheme = mediaQuery.matches ? 'dark' : 'light');23 }24 const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');25 setTheme(mediaQuery); mediaQuery.addEventListener('change', setTheme);26 })();27 </script>28 </head>