Skip to content

Commit

Permalink
Fix og:image uri
Browse files Browse the repository at this point in the history
  • Loading branch information
tomap committed Dec 17, 2024
1 parent e39f284 commit 52b67b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layout/_partial/head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<% if (page.share_cover) { %>
<meta property="og:image" content="<%= config.url %><%= page.share_cover %>" />
<% } else { %>
<meta property="og:image" content="https://i❤️.ws/emoji-image/<%= (page.icon || theme.index_icon || '🧙') %>.png" />
<meta property="og:image" content="https://xn--i-7iq.ws/emoji-image/<%= encodeUri(page.icon || theme.index_icon || '🧙') %>.png" />
<% } %>

<!-- Page permalink -->
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-minidyne",
"version": "4.0.1",
"version": "4.0.2",
"description": "Hexo theme minidyne",
"repository": {
"type": "git",
Expand Down

0 comments on commit 52b67b0

Please sign in to comment.