Vendor dependencies

This commit is contained in:
2026-08-01 16:11:49 +03:00
parent 7f139a0241
commit 6b5e7f0f8b
29706 changed files with 9575646 additions and 0 deletions
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ lang }}">
<title>{{ config.title }}
{%- if term %} - {{ term.name }}
{%- elif section.title %} - {{ section.title }}
{%- endif -%}
</title>
{%- if config.description %}
<subtitle>{{ config.description }}</subtitle>
{%- endif %}
<link rel="self" type="application/atom+xml" href="{{ feed_url | safe }}"/>
<link rel="alternate" type="text/html" href="
{%- if section -%}
{{ section.permalink | escape_xml | safe }}
{%- else -%}
{{ config.base_url | escape_xml | safe }}
{%- endif -%}
"/>
<generator uri="https://www.getzola.org/">Zola</generator>
<updated>{{ last_updated | date(format="%+") }}</updated>
<id>{{ feed_url | safe }}</id>
{%- for page in pages %}
{% if page.permalink is starting_with("https://loco.rs/blog/") or page.permalink is starting_with("http://127.0.0.1:1111/blog/") %}
<entry xml:lang="{{ page.lang }}">
<title>{{ page.title }}</title>
<published>{{ page.date | date(format="%+") }}</published>
<updated>{{ page.updated | default(value=page.date) | date(format="%+") }}</updated>
{% for author in page.authors %}
<author>
<name>
{{ author }}
</name>
</author>
{% else %}
<author>
<name>
{%- if config.author -%}
{{ config.author }}
{%- else -%}
Unknown
{%- endif -%}
</name>
</author>
{% endfor %}
<link rel="alternate" type="text/html" href="{{ page.permalink | safe }}"/>
<id>{{ page.permalink | safe }}</id>
{% if page.summary %}
<summary type="html">{{ page.summary }}</summary>
{% else %}
<content type="html" xml:base="{{ page.permalink | escape_xml | safe }}">{{ page.content }}</content>
{% endif %}
</entry>
{%- endif -%}
{%- endfor %}
</feed>
@@ -0,0 +1,30 @@
{# Default page template used for blog contents #}
{% extends "page.html" %}
{% block body %}
{% set page_class = "blog single" %}
{% endblock body %}
{% block header %}
{{ macros_header::header(current_section='blog')}}
{% endblock header %}
{% block content %}
<div class="container" role="document">
<article class="prose mx-auto my-[2rem] md:my-[8rem]">
{{ macros_publish::page_publish_metadata(page=page) }}
<h1 class="mb-1 font-extrabold">{{ page.title }}</h1>
<div class="text-gray-500 font-semibold">
{% if page.taxonomies.authors and
config.taxonomies %} {% for author in page.taxonomies.authors %}{% if author_flag %} and {% endif %}{{ author }}{% set_global author_flag
= true %}{% endfor %}{% endif %}
</div>
{% if page.extra.lead %}<p class="lead">{{ page.extra.lead | safe }}</p>{% endif %}
<div class="markdown mt-8">
{{ page.content | safe }}
</div>
</article>
</div>
{% endblock content %}
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>{{ config.title }}
{%- if term %} - {{ term.name }}
{%- elif section.title %} - {{ section.title }}
{%- endif -%}
</title>
<link>
{%- if section -%}
{{ section.permalink | escape_xml | safe }}
{%- else -%}
{{ config.base_url | escape_xml | safe }}
{%- endif -%}
</link>
<description>{{ config.description }}</description>
<generator>Zola</generator>
<language>{{ lang }}</language>
<atom:link href="{{ feed_url | safe }}" rel="self" type="application/rss+xml"/>
<lastBuildDate>{{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
{%- for page in pages %}
{% if page.permalink is starting_with("https://loco.rs/blog/") or page.permalink is starting_with("http://127.0.0.1:1111/blog/") %}
<item>
<title>{{ page.title }}</title>
<pubDate>{{ page.date | date(format="%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
<author>
{%- if page.authors -%}
{{ page.authors[0] }}
{%- elif config.author -%}
{{ config.author }}
{%- else -%}
Unknown
{%- endif -%}
</author>
<link>{{ page.permalink | escape_xml | safe }}</link>
<guid>{{ page.permalink | escape_xml | safe }}</guid>
<description xml:base="{{ page.permalink | escape_xml | safe }}">{% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %}</description>
</item>
{%- endif -%}
{%- endfor %}
</channel>
</rss>
@@ -0,0 +1,48 @@
{% extends "section.html" %}
{% block body %}
{% set page_class = "blog list" %}
{% endblock body %}
{% block header %}
{# This value is matched by the config.extra.menu.main->section #}
{% set current_section = "blog" %}
{{ macros_header::header(current_section=current_section)}}
{% endblock header %}
{% block content %}
<svg class="w-full h-full" viewBox="0 0 1512 235" fill="none" xmlns="http://www.w3.org/2000/svg">
<path class="dark:fill-zinc-700" d="M 1512 0 V 235 H 0 L 1512 0 Z" fill="#7A1307"/>
<path class="dark:fill-zinc-900" d="M 1512 29 V 236 H 0 L 1512 29 Z" fill="#c12110"/>
</svg>
<div class="bg-redrust dark:bg-zinc-900 text-white px-2">
<h1 class="text-center text-3xl mb-3 font-semibold text-white">Latest Updates</h1>
<h2 class="text-center text-xl text-red-50 mb-12">Updates and techincal articles from the team and contributors</h2>
</div>
<div class="container" role="document">
<div class="content mx-auto max-w-[52rem] my-16">
<div class="flex flex-col card-list gap-3">
{% for page in paginator.pages %}
<a class="stretched-link text-body hover:bg-gray-50 dark:hover:bg-gray-900 rounded-sm p-4" href="{{ page.permalink }}">
<div>
<h2 class="text-lg font-semibold -mt-1">{{ page.title }} </h2>
<p class="text-gray-500">{{page.description | safe }}</p>
</div>
<div class="flex mt-2 items-center">
<div class="text-sm text-sky-500 font-medium">
Read more
</div>
<svg class="relative mt-px overflow-visible ml-2.5 text-sky-300 dark:text-sky-700" width="3" height="6" viewBox="0 0 3 6" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M0 0L3 3L0 6"></path></svg>
</div>
</a>
{% endfor %}
{% if paginator.previous or paginator.next %}
{{ macros_section_nav::navigation(paginator=paginator) }}
{% endif %}
</div>
</div>
</div>
{% endblock content %}