switched theme

This commit is contained in:
2026-04-02 13:14:18 +03:00
parent 0c26d89eae
commit e31dbbb16c
192 changed files with 215173 additions and 1463 deletions
+43 -62
View File
@@ -1,64 +1,45 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}{{ section.title }}{% endblock title %}</title>
<meta name="author" content="{{ config.extra.author }}">
{% block meta %}
<meta name="description" content="{{ section.description }}">
<meta property="og:site_name" content="andwati.github.io">
<meta property="og:locale" content="en-us">
<meta property="og:url" content="{{ section.permalink }}">
<meta property="og:title" content="{{ section.title }}">
<meta property="og:description" content="{{ section.description }}">
<meta property="og:type" content="profile">
<meta property="og:image" content="https://andwati.github.io/self.webp">
<meta property="twitter:card" content="summary">
<meta property="twitter:site" content="@andwati_">
<meta property="twitter:title" content="{{ section.title }}">
<meta property="twitter:description" content="{{ section.description }}">
<meta property="twitter:image" content="https://andwati.github.io/self.webp">
{% endblock meta %}
<link rel="dns-prefetch" href="https://fonts.googleapis.com/">
<link rel="stylesheet" href="/site.css">
<link rel="shortcut icon" href="/favicon.svg" type="image/svg+xml">
{% block links %}
<link rel="canonical" href="{{ section.permalink }}">
{% endblock links %}
<script data-goatcounter="https://andwati.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
{% extends "base.html" %} {% block canonical %}{{ config.base_url }}/{% endblock canonical %} {%
block og_url %}{{ config.base_url }}/{% endblock og_url %} {% block head %}
<!-- SEO: Blog (Homepage) JSON-LD -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Blog",
"@id": "{{ config.base_url }}/#blog",
"name": "{{ config.title }}",
"description": "{{ config.description }}",
"url": "{{ config.base_url }}/",
"inLanguage": "en-US",
"author": {
"@type": "Person",
"@id": "{{ config.base_url }}/#author"
},
"blogPost": [
{% set section = get_section(path="posts/_index.md") %}
{% for page in section.pages %}
{
"@type": "BlogPosting",
"@id": "{{ page.permalink }}#article",
"headline": {{ page.title | json_encode }},
"url": "{{ page.permalink }}"
{% if page.date %},"datePublished": "{{ page.date | date(format="%+") }}"{% endif %}
}{% if not loop.last %},{% endif %}
{% endfor %}
]
}
</script>
{% endblock head %} {% block content %} {% include "partials/profile.html" %}
<link rel="stylesheet" href="{{ get_url(path='katex.min.css') }}">
<script defer src="{{ get_url(path='js/katex.min.js') }}"></script>
<script defer src="{{ get_url(path='js/auto-render.min.js') }}"></script>
<script defer>
document.addEventListener("DOMContentLoaded", function() {
renderMathInElement(document.body, {
delimiters: [
{left: "$$", right: "$$", display: true},
{left: "$", right: "$", display: false}
]
});
});
</script>
<div
class="post-feed-list"
style="max-width: 65ch; margin: 0 auto; display: flex; flex-direction: column; gap: 2.5rem"
>
{% set section = get_section(path="posts/_index.md") %}
{% set post_limit = config.extra.homepage_post_limit | default(value=3) %}
{% for page in section.pages | slice(end=post_limit) %} {% include "partials/post-card.html" %} {% endfor %}
</div>
</head>
<body>
{% block content %}
<main id="content">
<header>
<h1>{{ section.title }}</h1>
</header>
{{ section.content | safe }}
</main>
{% include "_partials/footer.html" %}
{% endblock content %}
</body>
</html>
<div class="view-all-posts">
<a href="/posts" class="btn-view-all">{{ config.extra.view_all_posts_label | default(value="View all posts") }}</a>
</div>
{% endblock content %}