Skip to content

Commit

Permalink
Remove {NAME} from tab titles
Browse files Browse the repository at this point in the history
  • Loading branch information
rnesbitt-ch committed Feb 28, 2025
1 parent 11aa015 commit 4f46a90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/views/personal-code/personal-code.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
{% extends "layouts/default.njk" %}

{% if "en" in lang %}
{% set title = firstName + ' ' + lastName + ' ' + i18n.codePageTitle %}
{% set title = i18n.codePageHeading | replace('{NAME}', firstName + ' ' + lastName) %}
{% else %}
{% set title = i18n.codePageTitle + ' ' + firstName + ' ' + lastName %}
{% set title = (i18n.codePageHeading + ' ' + firstName + ' ' + lastName) | replace('{NAME}', '') %}
{% endif %}

{% block main_content %}
Expand Down
4 changes: 2 additions & 2 deletions src/views/persons-email/persons-email.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
{% extends "layouts/default.njk" %}

{% if "en" in lang %}
{% set title = i18n.whatIs + ' ' + firstName + ' ' + lastName + i18n.emailAddress %}
{% set title = i18n.whatIs + i18n.emailAddress | replace('{NAME}', firstName + ' ' + lastName) %}
{% else %}
{% set title = i18n.whatIs + ' ' + i18n.emailAddress + ' ' + firstName + ' ' + lastName %}
{% set title = (i18n.whatIs + ' ' + i18n.emailAddress + ' ' + firstName + ' ' + lastName) | replace('{NAME}', '') %}
{% endif %}

{% block main_content %}
Expand Down

0 comments on commit 4f46a90

Please sign in to comment.