diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-09-26 03:35:41 +0300 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-09-26 03:35:41 +0300 |
commit | ae0525c25ba7c00ec688c5006a931ce68485d366 (patch) | |
tree | c00203ba0b37b6640fb0d96e052b8ce8a6372d3c /templates | |
parent | 6f51927e180fe6c6ea88806d245bd886df23f53a (diff) |
A lot of good changes, my site looks like my rice X11 DWM now.
Changes to be committed:
modified: config.toml
modified: content/about.md
modified: content/posts/code_test.md
modified: content/posts/some_cool_stuff.md
modified: sass/_normalize.scss
modified: sass/_predefined.scss
deleted: sass/_syntax.scss
modified: sass/style.scss
new file: static/auto-render.min.js
modified: static/browserconfig.xml
new file: static/fonts/KaTeX_AMS-Regular.ttf
new file: static/fonts/KaTeX_AMS-Regular.woff
new file: static/fonts/KaTeX_AMS-Regular.woff2
new file: static/fonts/KaTeX_Caligraphic-Bold.ttf
new file: static/fonts/KaTeX_Caligraphic-Bold.woff
new file: static/fonts/KaTeX_Caligraphic-Bold.woff2
new file: static/fonts/KaTeX_Caligraphic-Regular.ttf
new file: static/fonts/KaTeX_Caligraphic-Regular.woff
new file: static/fonts/KaTeX_Caligraphic-Regular.woff2
new file: static/fonts/KaTeX_Fraktur-Bold.ttf
new file: static/fonts/KaTeX_Fraktur-Bold.woff
new file: static/fonts/KaTeX_Fraktur-Bold.woff2
new file: static/fonts/KaTeX_Fraktur-Regular.ttf
new file: static/fonts/KaTeX_Fraktur-Regular.woff
new file: static/fonts/KaTeX_Fraktur-Regular.woff2
new file: static/fonts/KaTeX_Main-Bold.ttf
new file: static/fonts/KaTeX_Main-Bold.woff
new file: static/fonts/KaTeX_Main-Bold.woff2
new file: static/fonts/KaTeX_Main-BoldItalic.ttf
new file: static/fonts/KaTeX_Main-BoldItalic.woff
new file: static/fonts/KaTeX_Main-BoldItalic.woff2
new file: static/fonts/KaTeX_Main-Italic.ttf
new file: static/fonts/KaTeX_Main-Italic.woff
new file: static/fonts/KaTeX_Main-Italic.woff2
new file: static/fonts/KaTeX_Main-Regular.ttf
new file: static/fonts/KaTeX_Main-Regular.woff
new file: static/fonts/KaTeX_Main-Regular.woff2
new file: static/fonts/KaTeX_Math-BoldItalic.ttf
new file: static/fonts/KaTeX_Math-BoldItalic.woff
new file: static/fonts/KaTeX_Math-BoldItalic.woff2
new file: static/fonts/KaTeX_Math-Italic.ttf
new file: static/fonts/KaTeX_Math-Italic.woff
new file: static/fonts/KaTeX_Math-Italic.woff2
new file: static/fonts/KaTeX_SansSerif-Bold.ttf
new file: static/fonts/KaTeX_SansSerif-Bold.woff
new file: static/fonts/KaTeX_SansSerif-Bold.woff2
new file: static/fonts/KaTeX_SansSerif-Italic.ttf
new file: static/fonts/KaTeX_SansSerif-Italic.woff
new file: static/fonts/KaTeX_SansSerif-Italic.woff2
new file: static/fonts/KaTeX_SansSerif-Regular.ttf
new file: static/fonts/KaTeX_SansSerif-Regular.woff
new file: static/fonts/KaTeX_SansSerif-Regular.woff2
new file: static/fonts/KaTeX_Script-Regular.ttf
new file: static/fonts/KaTeX_Script-Regular.woff
new file: static/fonts/KaTeX_Script-Regular.woff2
new file: static/fonts/KaTeX_Size1-Regular.ttf
new file: static/fonts/KaTeX_Size1-Regular.woff
new file: static/fonts/KaTeX_Size1-Regular.woff2
new file: static/fonts/KaTeX_Size2-Regular.ttf
new file: static/fonts/KaTeX_Size2-Regular.woff
new file: static/fonts/KaTeX_Size2-Regular.woff2
new file: static/fonts/KaTeX_Size3-Regular.ttf
new file: static/fonts/KaTeX_Size3-Regular.woff
new file: static/fonts/KaTeX_Size3-Regular.woff2
new file: static/fonts/KaTeX_Size4-Regular.ttf
new file: static/fonts/KaTeX_Size4-Regular.woff
new file: static/fonts/KaTeX_Size4-Regular.woff2
new file: static/fonts/KaTeX_Typewriter-Regular.ttf
new file: static/fonts/KaTeX_Typewriter-Regular.woff
new file: static/fonts/KaTeX_Typewriter-Regular.woff2
new file: static/katex.min.css
new file: static/katex.min.js
modified: templates/404.html
modified: templates/index.html
modified: templates/macros.html
modified: templates/page.html
modified: templates/section.html
modified: templates/shortcodes/youtube.html
modified: templates/tags/list.html
modified: templates/tags/single.html
Diffstat (limited to 'templates')
-rw-r--r-- | templates/404.html | 2 | ||||
-rw-r--r-- | templates/index.html | 10 | ||||
-rw-r--r-- | templates/macros.html | 6 | ||||
-rw-r--r-- | templates/page.html | 6 | ||||
-rw-r--r-- | templates/section.html | 6 | ||||
-rw-r--r-- | templates/shortcodes/youtube.html | 2 | ||||
-rw-r--r-- | templates/tags/list.html | 6 | ||||
-rw-r--r-- | templates/tags/single.html | 6 |
8 files changed, 22 insertions, 22 deletions
diff --git a/templates/404.html b/templates/404.html index 94a6247..c565d09 100644 --- a/templates/404.html +++ b/templates/404.html @@ -5,7 +5,7 @@ {% block title %} {% endblock title %} {% block main %} -<div id="spotlight" class="error-404 animated fadeIn"> +<div id="spotlight" class="error-404"> <p class="img-404"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 167.8 163.4" fill="currentColor"> diff --git a/templates/index.html b/templates/index.html index 9144fc0..746f8ab 100644 --- a/templates/index.html +++ b/templates/index.html @@ -67,8 +67,8 @@ <title>{{ config.title }}</title> {% endif %} - {% if config.generate_feed %} - <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path=config.feed_filename, trailing_slash=false) }}"> + {% if config.generate_feeds %} + <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path=config.feed_filenames[0], trailing_slash=false) }}"> {% endif %} <body id="page"> @@ -77,7 +77,7 @@ {% endblock header %} {% block title %} - <div id="spotlight" class="animated fadeIn"> + <div id="spotlight" class=""> <div id="home-center"> <h1 id="home-title">{{ config.title }}</h1> <p id="home-subtitle">{{ config.extra.home_subtitle }}</p> @@ -100,9 +100,9 @@ <p>© {{ now() | date(format="%Y") }} <a href="{{ config.base_url }}">{{ config.extra.author.name }}</a> - {% if config.generate_feed %} + {% if config.generate_feeds %} · - <a href="{{ get_url(path=config.feed_filename, trailing_slash=false) }}" target="_blank" title="rss"> + <a href="{{ get_url(path=config.feed_filenames[0], trailing_slash=false) }}" target="_blank" title="rss"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"> diff --git a/templates/macros.html b/templates/macros.html index 1f5488f..58b1ad2 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -9,15 +9,15 @@ {% endmacro read_time %} {% macro footer() %} -<footer id="site-footer" class="section-inner thin animated fadeIn faster"> +<footer id="site-footer" class="section-inner thin"> <p> © {{ now() | date(format="%Y") }} <a href="{{ config.base_url }}">{{ config.extra.author.name }}</a> {{ config.extra.footer_copyright | safe }} </p> <p>Made with <a href="https://www.getzola.org" target="_blank" rel="noopener">Zola</a> · Theme : <a href="https://github.com/VersBinarii/hermit_zola" target="_blank" rel="noopener">Hermit_Zola</a> - {% if config.generate_feed %} - · <a href="{{ get_url(path=config.feed_filename, trailing_slash=false) }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a> + {% if config.generate_feeds %} + · <a href="{{ get_url(path=config.feed_filenames[0], trailing_slash=false) }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a> {% endif %} </p> </footer> diff --git a/templates/page.html b/templates/page.html index 67bdddb..176dc7b 100644 --- a/templates/page.html +++ b/templates/page.html @@ -3,7 +3,7 @@ {% import "macros.html" as macros %} {% block header %} -<header id="site-header" class="animated slideInUp faster"> +<header id="site-header" class=""> <div class="hdr-wrapper section-inner"> <div class="hdr-left"> <div class="site-branding"> @@ -32,7 +32,7 @@ </div> </header> -<div id="mobile-menu" class="animated fast"> +<div id="mobile-menu" class=""> <ul> {% for menu_item in config.extra.hermit_menu %} <li> @@ -46,7 +46,7 @@ {% block title %} {% endblock title %} {% block main %} -<main class="site-main section-inner animated fadeIn faster"> +<main class="site-main section-inner"> <article class="thin"> <header class="post-header"> <div class="post-meta"> diff --git a/templates/section.html b/templates/section.html index 679a3ea..48b1c04 100644 --- a/templates/section.html +++ b/templates/section.html @@ -3,7 +3,7 @@ {% import "macros.html" as macros %} {% block header %} -<header id="site-header" class="animated slideInUp faster"> +<header id="site-header" class=""> <div class="hdr-wrapper section-inner"> <div class="hdr-left"> <div class="site-branding"> @@ -32,7 +32,7 @@ </div> </header> -<div id="mobile-menu" class="animated fast"> +<div id="mobile-menu" class=""> <ul> {% for menu_item in config.extra.hermit_menu %} <li> @@ -46,7 +46,7 @@ {% block title %} {% endblock title %} {% block main %} -<main class="site-main section-inner thin animated fadeIn faster"> +<main class="site-main section-inner thin"> <h1>{{ section.title }}</h1> {% for year, pages in section.pages | group_by(attribute="year") %} <div class="posts-group"> diff --git a/templates/shortcodes/youtube.html b/templates/shortcodes/youtube.html index 87ccffe..3469885 100644 --- a/templates/shortcodes/youtube.html +++ b/templates/shortcodes/youtube.html @@ -1,5 +1,5 @@ <div {% if class %}class="{{class}}"{% endif %} style="position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 aspect ratio for responsive sizing */ overflow: hidden;"> - <iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; + <iframe title="YouTube Video Frame" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 4px; /* Optional: Add some rounded corners */ border-style: none; /* Remove iframe border */" src="https://www.youtube-nocookie.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen> diff --git a/templates/tags/list.html b/templates/tags/list.html index c3268c3..cb45c5c 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.html @@ -3,7 +3,7 @@ {% import "macros.html" as macros %} {% block header %} -<header id="site-header" class="animated slideInUp faster"> +<header id="site-header" class=""> <div class="hdr-wrapper section-inner"> <div class="hdr-left"> <div class="site-branding"> @@ -32,7 +32,7 @@ </div> </header> -<div id="mobile-menu" class="animated fast"> +<div id="mobile-menu" class=""> <ul> {% for menu_item in config.extra.hermit_menu %} <li><a href="{{ menu_item.link }}">{{ menu_item.name }}</a></li> @@ -44,7 +44,7 @@ {% block title %} {% endblock title %} {% block main %} -<main class="site-main section-inner thin animated fadeIn faster" style="text-align: center;"> +<main class="site-main section-inner thin" style="text-align: center;"> {% block content %} {% for tag in terms %} diff --git a/templates/tags/single.html b/templates/tags/single.html index f1d506a..08a699b 100644 --- a/templates/tags/single.html +++ b/templates/tags/single.html @@ -3,7 +3,7 @@ {% import "macros.html" as macros %} {% block header %} -<header id="site-header" class="animated slideInUp faster"> +<header id="site-header" class=""> <div class="hdr-wrapper section-inner"> <div class="hdr-left"> <div class="site-branding"> @@ -31,7 +31,7 @@ </div> </div> </header> -<div id="mobile-menu" class="animated fast"> +<div id="mobile-menu" class=""> <ul> {% for menu_item in config.extra.hermit_menu %} <li><a href="{{ menu_item.link }}">{{ menu_item.name }}</a></li> @@ -43,7 +43,7 @@ {% block title %} {% endblock title %} {% block main %} -<main class="site-main section-inner thin animated fadeIn faster"> +<main class="site-main section-inner thin"> <h1>{{ term.name }}</h1> {% for year, pages in term.pages | group_by(attribute="year") %} <div class="posts-group"> |