mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Add Open Graph tags for better link preview on social media
This is provided by the sphinxext-opengraph extension.
This also adds a theme color property in the HTML layout file.
(cherry picked from commit 9becaa5480)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{% extends "!layout.html" -%}
|
||||
{% block linktags -%}
|
||||
<meta name="theme-color" content="#3d8fcc">
|
||||
{% if godot_inject_language_links -%}
|
||||
{% for alternate_lang in godot_docs_supported_languages -%}
|
||||
{# Convert to ISO 639-1 format, e.g. zh_CN -> zh-cn -#}
|
||||
|
||||
Reference in New Issue
Block a user