PythonIreland / PythonIreland/2026.pycon.ie
OG: og:type 'article' incorrectly applied to institutional pages
Open
Beginner friendly
Nobody has claimed this yet.
bug
priority: medium
seo
- Dominant language
- HTML
- Stars
- 1
- Forks
- 0
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
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
articleto the blog section only, e.g.:
<meta property="og:type" content="{{ if eq .Section "blog" }}article{{ else }}website{{ end }}">
- Verify other sections remain
website
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- html
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 88/100