Update blog archetype and add border to videos

This commit is contained in:
BBaoVanC 2021-10-09 13:44:30 -05:00
parent 2616803f47
commit afb9ff6ab0
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 10 additions and 3 deletions

View File

@ -15,6 +15,13 @@ tags = [
# this image will be shown for the article in list pages
[[resources]]
name = "feature"
src = "gui.webp"
title = "Checkra1n GUI running on Arch Linux"
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)"
+++

View File

@ -95,7 +95,7 @@ img, video {
max-width: 100%;
}
img:not(.noborder) {
img:not(.noborder), video:not(.noborder) {
padding: 5px;
border: 5px solid #1b5b9b;
}