-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(integration): support social cards for blog plugin posts (#326)
This PR improves the Material Social Cards plugin integration by adding support for social cards generated for Material Blog plugin posts (https://squidfunk.github.io/mkdocs-material/plugins/blog/).
- Loading branch information
Showing
9 changed files
with
207 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
authors: | ||
squidfunk: | ||
name: Martin Donath | ||
description: Creator | ||
avatar: https://github.com/squidfunk.png | ||
alexvoss: | ||
name: Alex Voss | ||
description: Weltenwanderer | ||
avatar: https://github.com/alexvoss.png | ||
guts: | ||
avatar: https://cdn.geotribu.fr/img/internal/contributeurs/jmou.jfif | ||
description: GIS Watchman | ||
name: Julien Moura | ||
slug: julien-moura | ||
url: https://geotribu.fr/team/julien-moura/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Blog | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
authors: | ||
- alexvoss | ||
date: 2023-10-11 | ||
categories: | ||
- meta | ||
--- | ||
|
||
# My first blog post | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque nec | ||
maximus ex. Sed consequat, nulla quis malesuada dapibus, elit metus vehicula | ||
erat, ut egestas tellus eros at risus. In hac habitasse platea dictumst. | ||
Phasellus id lacus pulvinar erat consequat pretium. Morbi malesuada arcu mauris | ||
Nam vel justo sem. Nam placerat purus non varius luctus. Integer pretium leo in | ||
sem rhoncus, quis gravida orci mollis. Proin id aliquam est. Vivamus in nunc ac | ||
metus tristique pellentesque. Suspendisse viverra urna in accumsan aliquet. | ||
|
||
<!-- more --> | ||
|
||
Donec volutpat, elit ac volutpat laoreet, turpis dolor semper nibh, et dictum | ||
massa ex pulvinar elit. Curabitur commodo sit amet dolor sed mattis. Etiam | ||
tempor odio eu nisi gravida cursus. Maecenas ante enim, fermentum sit amet | ||
molestie nec, mollis ac libero. Vivamus sagittis suscipit eros ut luctus. | ||
|
||
Nunc vehicula sagittis condimentum. Cras facilisis bibendum lorem et feugiat. | ||
In auctor accumsan ligula, at consectetur erat commodo quis. Morbi ac nunc | ||
pharetra, pellentesque risus in, consectetur urna. Nulla id enim facilisis | ||
arcu tincidunt pulvinar. Vestibulum laoreet risus scelerisque porta congue. | ||
In velit purus, dictum quis neque nec, molestie viverra risus. Nam pellentesque | ||
tellus id elit ultricies, vel finibus erat cursus. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
authors: | ||
- squidfunk | ||
date: 2023-10-12 | ||
categories: | ||
- hello | ||
--- | ||
|
||
# A second post | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque nec | ||
maximus ex. Sed consequat, nulla quis malesuada dapibus, elit metus vehicula | ||
erat, ut egestas tellus eros at risus. In hac habitasse platea dictumst. | ||
Phasellus id lacus pulvinar erat consequat pretium. Morbi malesuada arcu mauris | ||
Nam vel justo sem. Nam placerat purus non varius luctus. Integer pretium leo in | ||
sem rhoncus, quis gravida orci mollis. Proin id aliquam est. Vivamus in nunc ac | ||
metus tristique pellentesque. Suspendisse viverra urna in accumsan aliquet. | ||
|
||
<!-- more --> | ||
|
||
Donec volutpat, elit ac volutpat laoreet, turpis dolor semper nibh, et dictum | ||
massa ex pulvinar elit. Curabitur commodo sit amet dolor sed mattis. Etiam | ||
tempor odio eu nisi gravida cursus. Maecenas ante enim, fermentum sit amet | ||
molestie nec, mollis ac libero. Vivamus sagittis suscipit eros ut luctus. | ||
|
||
Nunc vehicula sagittis condimentum. Cras facilisis bibendum lorem et feugiat. | ||
In auctor accumsan ligula, at consectetur erat commodo quis. Morbi ac nunc | ||
pharetra, pellentesque risus in, consectetur urna. Nulla id enim facilisis | ||
arcu tincidunt pulvinar. Vestibulum laoreet risus scelerisque porta congue. | ||
In velit purus, dictum quis neque nec, molestie viverra risus. Nam pellentesque | ||
tellus id elit ultricies, vel finibus erat cursus. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
site_name: Test RSS Plugin | ||
site_description: Test social cards support in RSS with blog plugin also enabled | ||
site_url: https://guts.github.io/mkdocs-rss-plugin | ||
|
||
plugins: | ||
- blog: | ||
blog_dir: blog | ||
- rss | ||
- social: | ||
enabled: true | ||
cards: true | ||
|
||
theme: | ||
name: material |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters