feat: Establish CI pipeline, pre-commit hooks, and code quality linting for improved developer experience.

This commit is contained in:
2026-03-11 20:51:35 +03:00
parent c0e261c2ed
commit 187c8eb078
49 changed files with 208356 additions and 1216 deletions
+37 -40
View File
@@ -1,47 +1,44 @@
{% extends "base.html" %}
{% block canonical %}{{ config.base_url }}/{% endblock canonical %}
{% block og_url %}{{ config.base_url }}/{% endblock og_url %}
{% block head %}
{% 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 %}
]
}
{
"@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 %}
{% endblock head %} {% block content %} {% include "partials/profile.html" %}
{% block content %}
{% include "partials/profile.html" %}
<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") %} {% for page in section.pages | slice(end=3) %} {% include
"partials/post-card.html" %} {% endfor %}
</div>
<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") %}
{% for page in section.pages %}
{% include "partials/post-card.html" %}
{% endfor %}
<div class="view-all-posts">
<a href="/posts" class="btn-view-all">View all posts</a>
</div>
{% endblock content %}