From c46dc4b5f676e8d454eb8c4fcbae7b5ecbced2d0 Mon Sep 17 00:00:00 2001 From: GabMus Date: Sun, 9 Oct 2022 21:21:15 +0000 Subject: [PATCH] Mention "alt" post param in readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2a5ac0b..67dc5bb 100644 --- a/README.md +++ b/README.md @@ -259,6 +259,7 @@ Every post can have various parameters in the frontmatter, here are some that yo - `description`: a brief description of the post, useful for SEO optimization - `tags`: an array of tags, useful for searching similar articles - `image`: a link to a feature image for the article, shown in the preview as well +- `alt`: alternative text to be shown if image is not available or fails to download - `imageCaption`: a markdown text rendered as a caption for the article image described above - `featured`: boolean, indicate if the post should be shown as featured - `comments`: boolean, if true it enables comments for the current post, if false it disables them (default is true)