feat: cleanup, add title tag finally

This commit is contained in:
Devin Haska 2024-02-08 21:39:45 -08:00
parent 1cad57d8e8
commit a8a79d9f29
5 changed files with 11 additions and 4 deletions

View file

@ -18,8 +18,8 @@ module.exports = {
feed: "",
},
social: {
github: "",
mastodon: "",
lastfm: "",
github: "https://github.com/wonderfulfrog",
mastodon: "https://mastodon.social/@wonderfulfrog",
lastfm: "https://www.last.fm/user/wonderfulfrog",
},
};

View file

@ -5,7 +5,7 @@
href="{{ meta.url }}">
<img src="/assets/images/logo.svg" width="32" height="32" alt="" />
</a>
<a class="[ wordmark ] [ flex ]" href="#">
<a class="[ wordmark ] [ flex ]" href="{{ meta.url }}">
<span>wonderful</span>
<span>frog</span>
</a>

View file

@ -5,6 +5,10 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
{% if title %}{{ title }} •{% endif %}
{{ meta.siteName }}
</title>
<link rel="stylesheet" href="/assets/css/global.css" />
{% include "partials/meta.html" %}
{% for preload in preloads %}

View file

@ -1,6 +1,7 @@
---
permalink: /posts/index.html
layout: "base"
title: Posts
---
{% set posts = collections.posts | organizeByDate %}

View file

@ -5,6 +5,8 @@ pagination:
alias: tag
permalink: /tag/{{ tag }}/index.html
layout: "base"
eleventyComputed:
title: "Tag: {{ tag }}"
---
{% set posts = collections.postsByCategory[tag] %}