OG: og:type 'article' incorrectly applied to institutional pages

Open Beginner friendly
#56 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
html
Domain
web-dev

Research direction

Open layouts/partials/head.html at line 12 and inspect how .IsPage and .Section are used in the Open Graph type template. Update the condition so only the blog section produces article, then verify blog pages remain article while about, venue, cfp, and terms pages produce website.

Written by the indexing model from the issue text.

Description

bug priority: medium seo

Problem

layouts/partials/head.html:12:

<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">

article is applied to all .IsPage pages: /about/, /venue/, /cfp/, /terms/, etc. The article value should only apply to blog posts.

To do

  • Restrict article to the blog section only, e.g.:
<meta property="og:type" content="{{ if eq .Section "blog" }}article{{ else }}website{{ end }}">
  • Verify other sections remain website
Dominant language
HTML
Stars
1
Forks
0
Avg merge
10m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PythonIreland/2026.pycon.ie

All issues in PythonIreland/2026.pycon.ie

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.