docs: social card meta inject method (#419)
This commit is contained in:
@@ -1,16 +1,13 @@
|
|||||||
---
|
---
|
||||||
draft: false
|
draft: false
|
||||||
title: "Screenshot-Driven Development"
|
title: "Screenshot-Driven Development"
|
||||||
|
description: "AI Agent uses screenshots to assist in styling."
|
||||||
|
background_image: "https://block.github.io/goose/blog/images/screenshot-driven-development-blog/screenshot-driven-development.png"
|
||||||
date: 2024-11-22
|
date: 2024-11-22
|
||||||
authors:
|
authors:
|
||||||
- rizel
|
- rizel
|
||||||
categories:
|
categories:
|
||||||
- Web Development
|
- Web Development
|
||||||
social:
|
|
||||||
cards_layout_options:
|
|
||||||
title: "Screenshot-Driven Development"
|
|
||||||
description: "AI Agent uses screenshots to assist in styling."
|
|
||||||
background_image: "https://block.github.io/goose/blog/images/screenshot-driven-development-blog/screenshot-driven-development.png"
|
|
||||||
---
|
---
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
+3
-2
@@ -9,6 +9,7 @@ use_directory_urls: false
|
|||||||
# theme
|
# theme
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
|
custom_dir: overrides
|
||||||
features:
|
features:
|
||||||
- announce.dismiss
|
- announce.dismiss
|
||||||
- content.action.edit
|
- content.action.edit
|
||||||
@@ -41,11 +42,11 @@ theme:
|
|||||||
# plugins
|
# plugins
|
||||||
plugins:
|
plugins:
|
||||||
- blog
|
- blog
|
||||||
|
- social:
|
||||||
|
enabled: true
|
||||||
- include-markdown
|
- include-markdown
|
||||||
- callouts
|
- callouts
|
||||||
- glightbox
|
- glightbox
|
||||||
- social:
|
|
||||||
enabled: !ENV [CI, true]
|
|
||||||
- mkdocstrings:
|
- mkdocstrings:
|
||||||
handlers:
|
handlers:
|
||||||
python:
|
python:
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{% block head %}
|
||||||
|
{{ super() }}
|
||||||
|
{% if page.meta.description %}
|
||||||
|
<meta name="description" content="{{ page.meta.description }}">
|
||||||
|
{% endif %}
|
||||||
|
{% if page.meta.background_image %}
|
||||||
|
<meta property="og:image" content="{{ page.meta.background_image }}">
|
||||||
|
<meta name="twitter:image" content="{{ page.meta.background_image }}">
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user