mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 09:22:53 +00:00
- new paper/ink palette with single red accent, replacing catppuccin - self-hosted IBM Plex Serif (display) + Source Serif 4 (body), drop Outfit - rebuilt homepage masthead, numbered post index, navbar with active states - switch syntax highlighting + utterances to gruvbox, synced via postMessage - remove terminal/404 easter egg chrome, clean up remaining inline styles - fix stray syntax.css link causing a 404
48 lines
1.7 KiB
HTML
48 lines
1.7 KiB
HTML
{% 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" %}
|
|
|
|
{% set section = get_section(path="posts/_index.md") %}
|
|
<p class="feed-eyebrow">
|
|
<span>Recent Entries</span>
|
|
<span>{{ section.pages | length }} filed</span>
|
|
</p>
|
|
|
|
<div class="post-feed-list">
|
|
{% 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>
|
|
|
|
<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 %}
|