Skip to content

Commit

Permalink
add keywords metadata
Browse files Browse the repository at this point in the history
(cherry picked from commit 27b7308)
  • Loading branch information
dogle-scottlogic committed Nov 20, 2024
1 parent c97b646 commit a609627
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<meta property="og:type" content="article" />
<meta property="og:site_name" content="{{ site.name }}"/>
<meta property="og:url" content="{{ site.canonical.url }}{{ page.url }}" />
{% unless page.tags == empty %}
<meta name="keywords" content="{{page.tags | join: ', '}}" />
{% endunless %}
{% comment %} Twitter {% endcomment %}
<meta name="twitter:card" content="{% if page.image %}summary_large_image{% else %}summary{% endif %}"/>
<meta name="twitter:site" content="@{{ site.twitter_handle }}"/>
Expand Down

0 comments on commit a609627

Please sign in to comment.