PythonIreland / PythonIreland/2026.pycon.ie

Add BlogPosting structured data to blog single template

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

Nobody has claimed this yet.

priority: low schema seo
Dominant language
HTML
Stars
1
Forks
0
Avg merge
10m
Merged PRs (30d)
1

Description

Problem

Blog post pages render <article> HTML and og:type: article but emit only Organization + BreadcrumbList JSON-LD (inherited from the base partial). Blog posts have all the fields needed for a BlogPosting schema: title, description, date, and URL.

Missing this means no potential for Google Article rich results.

Proposed schema

```json
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "{{ .Title }}",
"description": "{{ .Description }}",
"datePublished": "{{ .Date.Format "2006-01-02" }}",
"dateModified": "{{ .Lastmod.Format "2006-01-02" }}",
"url": "{{ .Permalink }}",
"publisher": {
"@type": "Organization",
"@id": "https://python.ie/#organization",
"name": "Python Ireland"
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ .Permalink }}"
}
}
```

Files to change

  • layouts/blog/single.html — add <script type="application/ld+json"> block
  • Consider also adding an author field once blog authorship is established

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.

Research direction

Start with layouts/blog/single.html and inspect the base partial that currently emits Organization and BreadcrumbList JSON-LD. Confirm the template values available for title, description, dates, and permalink, then verify the rendered page contains valid BlogPosting JSON-LD with the specified fields and publisher details.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
web-dev
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
85/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.