Skip to content

Commit

Permalink
Fix meta description on news page
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Hurst <[email protected]>
  • Loading branch information
hursey013 authored Oct 1, 2024
1 parent f6c935e commit d689ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{%- if page.title -%}{{- page.title | strip_html }} | {% endif -%}{{ site.title -}}
{% endcapture %}
{% capture description %}
{%- if page.url == "/" -%}
{%- if page.url == "/" OR page.url == "/news/" -%}
{{- site.description -}}
{%- elsif page.description -%}
{{- page.description | truncate: 160 -}}
Expand Down

0 comments on commit d689ece

Please sign in to comment.