feat: added page metadata

This commit is contained in:
Leyla Becker 2026-02-11 16:24:53 -06:00
parent 642ee3b45a
commit 3970f98dcd
2 changed files with 9 additions and 1 deletions

View file

@ -3,7 +3,10 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }} | Volpe</title> <title>Volpe{% if title %} | {{ title }}{% endif %}</title>
{% if description %}
<meta name="description" content="{{ description }}">
{% endif %}
{# Critical CSS inlined for faster initial render #} {# Critical CSS inlined for faster initial render #}
<style> <style>

View file

@ -1,8 +1,13 @@
--- ---
layout: base.njk layout: base.njk
title: Blog title: Blog
description: Welcome to my website! I write about tech, politics, food, and hobby projects. Stay a while, make some friends, learn something, and help your neighbors.
--- ---
<section class="intro">
<p>{{ description }}</p>
</section>
<h1>Blog Posts</h1> <h1>Blog Posts</h1>
<ul class="post-list"> <ul class="post-list">