Skip to content

Commit

Permalink
Added additional metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminEHowe committed Jul 13, 2024
1 parent 1642250 commit e699f9a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion 11ty-src/_layouts/default.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,20 @@
<meta name="description" content="{{ description }}">
{% endif %}
<meta property="og:title" content="{{ title }}">
<meta property="twitter:title" content="{{ title }}">
{% if description %}
<meta name="og:description" content="{{ description }}">
<meta name="twitter:description" content="{{ description }}">
{% endif %}
{% if image %}
<meta name="og:image" content="{{ image }}">
<meta name="titter:image" content="{{ image }}">
{% endif %}
<meta name="generator" content="{{ eleventy.generator }}">
</head>
<body>
{{ content | safe }}
<div id="container">
{{ content | safe }}
</div>
</body>
</html>
Binary file added 11ty-src/assets/img/card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions 11ty-src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
layout: links.njk
title: Eleventy (11ty) Links
description: A Linktree alternative using Eleventy, hosted on Cloudflare Pages.
image: /assets/img/card.png
---

# {{ title }}
Expand Down

0 comments on commit e699f9a

Please sign in to comment.