From 8765dbbedeb154cc92b79c3802b8fbfb25d7be2e Mon Sep 17 00:00:00 2001 From: LucasVadilho <lucas.vadilho@gmail.com> Date: Thu, 17 Sep 2020 19:06:46 +0000 Subject: [PATCH] Include alt attribute to thumbnail --- exampleSite/content/post/markdown-syntax.md | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/exampleSite/content/post/markdown-syntax.md b/exampleSite/content/post/markdown-syntax.md index 2d4b210..995aa79 100644 --- a/exampleSite/content/post/markdown-syntax.md +++ b/exampleSite/content/post/markdown-syntax.md @@ -15,7 +15,9 @@ ] series = ["Themes Guide"] aliases = ["migrate-from-jekyl"] -thumbnail = "http://placeimg.com/150/150/any?1" +[thumbnail] + src = "http://placeimg.com/150/150/any?1" + alt = "Thumbnail image" +++ This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. -- Gitblit v1.10.0