Skip to content

Commit c4d3fbf

Browse files
committed
feat: Add site description to site.yml and include it as a meta tag, along with a favicon, in default.liquid.
1 parent 427ade3 commit c4d3fbf

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

_data/site.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
title: Bladeswitch
2+
description: The only starter compatible with BOTH Jekyll and Eleventy at the same time 🥷
23
styles:
34
- https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css
45
header: |-

_includes/default.liquid

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
{% if site.data.site %}{% assign site = site.data.site %}{% endif %}
22

3+
{% capture content_for_header %}
4+
{% comment %} @TODO: 1) add to tricks wiki 2) add via site.favicon {% endcomment %}
5+
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🥷</text></svg>">
6+
{% comment %} @TODO: move to html.liquid {% endcomment %}
7+
<meta name="description" content="{{ site.description }}">
8+
{% endcapture %}
9+
310
{% capture body %}
411
<main class="container">
512
<header><small>{{ site.header | markdownify }}</small></header>

0 commit comments

Comments
 (0)