Skip to content

Commit

Permalink
Do not close void elements
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Mar 1, 2024
1 parent f9f360f commit e6572e3
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/_includes/partial/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,27 @@
{% endif %}

<title>{{ pageTitle }}</title>
<link rel="canonical" href="{{ currentUrl }}" />
<link rel="canonical" href="{{ currentUrl }}">

<meta name="generator" content="{{ eleventy.generator }}" />
<meta name="generator" content="{{ eleventy.generator }}">

<meta property="og:site_name" content="{{ siteTitle }}" />
<meta property="og:title" content="{{ pageTitle }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ currentUrl }}" />
<meta property="og:site_name" content="{{ siteTitle }}">
<meta property="og:title" content="{{ pageTitle }}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ currentUrl }}">

{% if socialImage %}
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:image" content="{{ socialImage }}" />
<meta name="twitter:image" content="{{ socialImage }}" />
<meta property="og:image:alt" content="Page image for {{ site.name }}" />
<meta name="twitter:image:alt" content="Page image for {{ site.name }}" />
<meta name="twitter:card" content="summary_large_image">
<meta property="og:image" content="{{ socialImage }}">
<meta name="twitter:image" content="{{ socialImage }}">
<meta property="og:image:alt" content="Page image for {{ site.name }}">
<meta name="twitter:image:alt" content="Page image for {{ site.name }}">
{% endif %}

{% if metaDesc %}
<meta name="description" content="{{ metaDesc }}" />
<meta name="twitter:description" content="{{ metaDesc }}" />
<meta property="og:description" content="{{ metaDesc }}" />
<meta name="description" content="{{ metaDesc }}">
<meta name="twitter:description" content="{{ metaDesc }}">
<meta property="og:description" content="{{ metaDesc }}">
{% endif %}

<link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-touch-icon.png">
Expand Down

0 comments on commit e6572e3

Please sign in to comment.