Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify "Godot Engine" in html titles #922

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@
<meta name="twitter:description" content="{% if page.description %}{{ page.description }}{% elsif page.excerpt %}{{ page.excerpt }}{% else %}Develop your 2D & 3D games, cross-platform projects, or even XR ideas!{% endif %}">
<meta name="twitter:image" content="{{ site.url }}{{ page.image | default: '/assets/share-image.webp' }}">

<title>{{ page.title | default: "Godot Engine" }}</title>

{% if page.title %}
<title>{{ page.title | remove: " - Godot Engine" }}{% if page.notitlesuffix != true %} – Godot Engine{% endif %}</title>
{% else %}
<title>Godot Engine</title>
{% endif %}

<link rel="alternate" type="application/rss+xml" title="Godot News" href="/rss.xml">
<link rel="icon" href="/assets/favicon.png" sizes="any">
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml">
Expand Down
2 changes: 1 addition & 1 deletion pages/community/community.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
permalink: /community/index.html
title: Godot Engine - Community
title: Community
layout: default
---

Expand Down
1 change: 1 addition & 0 deletions pages/education.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
title: Education
permalink: /education/index.html
layout: default
---
Expand Down
1 change: 1 addition & 0 deletions pages/home.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
permalink: /
title: "Godot Engine - Free and open source 2D and 3D game engine"
notitlesuffix: true
description: "Godot provides a huge set of common tools, so you can just focus on making your game without reinventing
the wheel."
layout: default
Expand Down
Loading