Use a custom opengraph template and rename feature-video to just feature

This commit is contained in:
2021-10-09 14:09:02 -05:00
parent afb9ff6ab0
commit 9beed385a8
4 changed files with 57 additions and 11 deletions

View File

@ -12,16 +12,10 @@ tags = [
"awesome",
]
# this image will be shown for the article in list pages
# this will be shown for the article in list pages
# currently it can be either an image or video
[[resources]]
name = "feature"
src = "something.webp"
title = "Some image (image format can be anything; webp is just an example)"
# same as above, but a video. only one will be shown; image takes
# priority over video
[[resources]]
name = "feature-video"
src = "whatever.webm"
title = "Whatever video (video format can be anything; webm is just an example)"
+++