diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-03-03 20:56:15 +0200 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-03-03 20:56:15 +0200 |
commit | 6f51927e180fe6c6ea88806d245bd886df23f53a (patch) | |
tree | 04a67f5e9126557369c94d9a046db5cbf157be98 /templates/index.html | |
parent | 17dae0eaa459fdabafff1a05c524cb263b7018f6 (diff) |
Made changes regarding the styling, config and added content and a shortcode for youtube embeds.
Changes to be committed:
modified: config.toml
modified: content/about.md
modified: content/posts/How I made this Blog with Zola.md
new file: content/posts/some_cool_stuff.md
modified: content/posts/typography.md
modified: sass/_normalize.scss
modified: sass/_predefined.scss
modified: sass/style.scss
modified: templates/index.html
new file: templates/shortcodes/youtube.html
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html index 4c08173..9144fc0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -51,12 +51,12 @@ <link rel="icon" type="image/png" sizes="32x32" href="{{ get_url(path="favicon-32x32.png") }}"/> <link rel="icon" type="image/png" sizes="16x16" href="{{ get_url(path="favicon-16x16.png") }}"/> - <link rel="manifest" href="{{ get_url(path="site.webmanifest") }}"> + <!-- <link rel="manifest" href="{{ get_url(path="site.webmanifest") }}"> PWA + android manifest --> <link rel="mask-icon" href="{{ get_url(path="safari-pinned-tab.svg") }}" color="#030303"> <meta name="msapplication-TileColor" content="#603cba"> <!-- <meta name="theme-color" content="#ffffff"> discord fancy ruler line on the left of link preview embeds --> - <link rel="shortcut icon" href="{{ get_url(path="favicon.ico") }}"/> <!-- this is for old browsers that don't support the other tags --> + <link rel="shortcut icon" href="{{ get_url(path="favicon.ico") }}"/> <!-- Stylesheets --> <link rel="stylesheet" href="{{ get_url(path="style.css") }}"/> @@ -118,8 +118,9 @@ {% endblock footer %} </div> - <script src="{{ get_url(path="js/main.js") }}"></script> + <script defer src="{{ get_url(path="js/main.js") }}"></script> + {% if page.extra.math %} <!-- Math rendering with KaTeX --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous"> @@ -129,6 +130,7 @@ <!-- To automatically render math in text elements, include the auto-render extension --> <script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous" onload="renderMathInElement(document.body, { delimiters: [ {left: '$$', right: '$$', display: true}, {left: '$', right: '$', display: false}, {left: '\\[', right: '\\]', display: true}, {left: '\\(', right: '\\)', display: false}]});"></script> + {% endif %} {% if config.extra.google_analytics.enable %} <!-- Global Site Tag (gtag.js) - Google Analytics --> |