Skip to content

Commit 9984d18

Browse files
chuongld20claude
andcommitted
fix: add og: meta tags via template override, enable GitHub Pages
- Add docs/overrides/main.html with og:type, og:title, og:description, og:url, og:site_name meta tags using MkDocs template variables - Enable GitHub Pages (Source: GitHub Actions) via API - Build passes clean with mkdocs build --strict Fixes QA failures #5 and #6 from ISS-73 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7fcc6cd commit 9984d18

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

docs/overrides/main.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{% extends "base.html" %}
2+
3+
{% block extrahead %}
4+
<meta property="og:type" content="website">
5+
<meta property="og:title" content="{{ page.title }} - {{ config.site_name }}">
6+
<meta property="og:description" content="{{ config.site_description }}">
7+
<meta property="og:url" content="{{ page.canonical_url }}">
8+
<meta property="og:site_name" content="{{ config.site_name }}">
9+
{% endblock %}

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ edit_uri: edit/main/docs/
88

99
theme:
1010
name: material
11+
custom_dir: docs/overrides
1112
palette:
1213
- media: "(prefers-color-scheme: light)"
1314
scheme: default

0 commit comments

Comments
 (0)