Skip to content

Commit

Permalink
fix: the description meta tag should be page.description
Browse files Browse the repository at this point in the history
  • Loading branch information
st1020 committed May 18, 2024
1 parent 3d4a168 commit 2c14526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<!-- Author -->
{% set page_title = page.title | default(value=config.title) %}
<!---->
{% set description = page.summary | default(value=page_title) %}
{% set description = page.description | default(value=page_title) %}
<meta name="description" content="{{ description }}" />
<meta name="author" content="{{ page.extra.author | default(value=page_title) }}" />
<!-- The Open Graph protocol -->
Expand Down

0 comments on commit 2c14526

Please sign in to comment.