Skip to content

Commit

Permalink
Fix some trailing slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
datapolitical committed Jul 3, 2023
1 parent 48c4cc6 commit c65100c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/meta-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<meta
property="og:image"
content="{{ site.url }}/assets/{{sortedRecipes.image_url}}"
/>
>
6 changes: 3 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta charset="{{ site.encoding }}">
<meta name="pageurl" content="{{page.url}}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#1C1D22"/>
<meta name="theme-color" content="#1C1D22">
<meta name="author" content="{{ page.author | default: site.author | escape }}">
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
<link rel="canonical" href="{{ page.url | absolute_url }}">
Expand All @@ -37,9 +37,9 @@
{% include meta-image.html %}
{% elsif page.url contains "recipes" %}
{% assign myrecipe = site.data.recipes | find:"name", page.title %}
<meta property="og:image" content="{{site.url}}/assets/{{myrecipe.image_url}}" />
<meta property="og:image" content="{{site.url}}/assets/{{myrecipe.image_url}}">
{% else %}
<meta property="og:image" content="{{site.url}}/assets/images/profile/profile-static.jpg" />
<meta property="og:image" content="{{site.url}}/assets/images/profile/profile-static.jpg">
{% endif %}
{% seo %}
</head>
Expand Down

0 comments on commit c65100c

Please sign in to comment.