Skip to content

Commit

Permalink
fix: set 404 title
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrocket committed Oct 21, 2024
1 parent 93f0d6c commit efaea11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
{{ '#' ~ term.name }} • {{ config.title }}
{%- elif taxonomy.name -%}
{{ taxonomy.name | title }} • {{ config.title }}
{%- elif page_url == '/404.html' -%}
{{ "404 • " ~ config.title }}
{%- else -%}
{{ config.title }}
{%- endif -%}
Expand Down

0 comments on commit efaea11

Please sign in to comment.