Skip to content

Add <title> tag personalisation to project detail page using project interest area #84

Description

@komalharshita

Problem:
The project detail page <title> tag is currently {{ project.title }} — DevPath. While functional, this misses a search engine optimisation opportunity. Adding the interest area and level makes the page title more descriptive and improves discoverability for users searching for project ideas.

For example: Personal Expense Tracker — Beginner Python Project | DevPath is more searchable than Personal Expense Tracker — DevPath.

Proposed Solution:
Update the <title> in templates/project.html:

<title>{{ project.title }} — {{ project.level }} {{ project.skills[0] }} Project | DevPath</title>

Guard against empty skills with {% if project.skills %}:

<title>{{ project.title }} — {{ project.level }}{% if project.skills %} {{ project.skills[0] }}{% endif %} Project | DevPath</title>

Files Likely Affected:

  • templates/project.html
    Estimated Difficulty: Beginner

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions