From 7ffa9a639787cb517e83a919bb9240356f869399 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Fri, 18 Sep 2020 08:05:06 +0000
Subject: [PATCH] Revert "Merge branch 'post-thumbnail' of https://github.com/LucasVadilho/anatole into pr/72"
---
exampleSite/content/post/markdown-syntax.md | 4 +---
exampleSite/content/post/rich-content.md | 4 +---
exampleSite/content/post/emoji-support.md | 4 +---
assets/css/style.css | 9 ---------
4 files changed, 3 insertions(+), 18 deletions(-)
diff --git a/assets/css/style.css b/assets/css/style.css
index 09f8b2c..3a1a2b7 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -962,15 +962,6 @@
.theme-switch-item {
float: none;
}
-
- .preview {
- flex-direction: column;
- align-items: center;
- }
-
- .preview .thumbnail {
- order: var(--thumbnail-position);
- }
}
/* Medium zoom */
diff --git a/exampleSite/content/post/emoji-support.md b/exampleSite/content/post/emoji-support.md
index 8c2cade..0a8510a 100644
--- a/exampleSite/content/post/emoji-support.md
+++ b/exampleSite/content/post/emoji-support.md
@@ -6,9 +6,7 @@
tags = [
"emoji",
]
-[thumbnail]
- src = "http://placeimg.com/150/150/any?2"
- alt = "Thumbnail image"
+thumbnail = "http://placeimg.com/150/150/any?2"
+++
Emoji can be enabled in a Hugo project in a number of ways.
diff --git a/exampleSite/content/post/markdown-syntax.md b/exampleSite/content/post/markdown-syntax.md
index 995aa79..2d4b210 100644
--- a/exampleSite/content/post/markdown-syntax.md
+++ b/exampleSite/content/post/markdown-syntax.md
@@ -15,9 +15,7 @@
]
series = ["Themes Guide"]
aliases = ["migrate-from-jekyl"]
-[thumbnail]
- src = "http://placeimg.com/150/150/any?1"
- alt = "Thumbnail image"
+thumbnail = "http://placeimg.com/150/150/any?1"
+++
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.
diff --git a/exampleSite/content/post/rich-content.md b/exampleSite/content/post/rich-content.md
index f1cc692..ba30e12 100644
--- a/exampleSite/content/post/rich-content.md
+++ b/exampleSite/content/post/rich-content.md
@@ -7,9 +7,7 @@
"shortcodes",
"privacy",
]
-[thumbnail]
- src = "http://placeimg.com/150/150/any?3"
- alt = "Thumbnail image"
+thumbnail = "http://placeimg.com/150/150/any?3"
+++
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
--
Gitblit v1.10.0