Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Chucheng <ccwangchn@gmail.com>2020-10-19 11:14:45 +0300
committerWang Chucheng <ccwangchn@gmail.com>2020-10-19 11:14:45 +0300
commit6da793928321464b30439e080bb68ca2910e5aab (patch)
tree2f0b628cd8d2c4b5d4f5d1ad4013b32f938a48df /exampleSite
parent326567e7c6c44025128c519fda3f51e8e5a4cc38 (diff)
chore: update exampleSite
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/post/emoji-support.md15
-rw-r--r--exampleSite/content/post/featured-image.md8
-rw-r--r--exampleSite/content/post/markdown-syntax.md53
-rw-r--r--exampleSite/content/post/placeholder-text.md32
4 files changed, 41 insertions, 67 deletions
diff --git a/exampleSite/content/post/emoji-support.md b/exampleSite/content/post/emoji-support.md
index e8a9324..4ac9886 100644
--- a/exampleSite/content/post/emoji-support.md
+++ b/exampleSite/content/post/emoji-support.md
@@ -16,8 +16,7 @@ Emoji can be enabled in a Hugo project in a number of ways.
<!--more-->
The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
-To enable emoji globally, set `enableEmoji` to `true` in your site’s [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
-
+To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
<p><span class="nowrap"><span class="emojify">πŸ™ˆ</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">πŸ™‰</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">πŸ™Š</span> <code>:speak_no_evil:</code></span></p>
<br>
@@ -30,22 +29,22 @@ The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference
{{< highlight html >}}
.emoji {
-font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
+ font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
}
{{< /highlight >}}
{{< css.inline >}}
<style>
.emojify {
- font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
+ font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
font-size: 2rem;
vertical-align: middle;
}
@media screen and (max-width:650px) {
- .nowrap {
- display: block;
- margin: 25px 0;
-}
+ .nowrap {
+ display: block;
+ margin: 25px 0;
+ }
}
</style>
{{< /css.inline >}} \ No newline at end of file
diff --git a/exampleSite/content/post/featured-image.md b/exampleSite/content/post/featured-image.md
index 83a9b76..e458540 100644
--- a/exampleSite/content/post/featured-image.md
+++ b/exampleSite/content/post/featured-image.md
@@ -4,12 +4,8 @@ description = "Post with featured image."
summary = ""
toc = true
authors = ["Example Author"]
-tags = [
- "image",
-]
-categories = [
- "themes",
-]
+tags = ["image"]
+categories = ["themes"]
series = ["Themes Guide"]
date = 2020-05-26
lastmod = 2020-05-26
diff --git a/exampleSite/content/post/markdown-syntax.md b/exampleSite/content/post/markdown-syntax.md
index aa76a91..003eb55 100644
--- a/exampleSite/content/post/markdown-syntax.md
+++ b/exampleSite/content/post/markdown-syntax.md
@@ -4,16 +4,8 @@ description = "Sample article showcasing basic Markdown syntax and formatting fo
summary = ""
toc = true
authors = ["Hugo Authors"]
-tags = [
- "markdown",
- "css",
- "html",
- "themes",
-]
-categories = [
- "themes",
- "syntax",
-]
+tags = ["markdown", "css", "html", "themes"]
+categories = ["themes", "syntax"]
series = ["Themes Guide"]
date = 2019-03-11
lastmod = 2019-03-11
@@ -52,36 +44,35 @@ The blockquote element represents content that is quoted from another source, op
#### Blockquote with attribution
-> Don't communicate by sharing memory, share memory by communicating.</p>
+> Don't communicate by sharing memory, share memory by communicating.<br>
> β€” <cite>Rob Pike[^1]</cite>
-
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
## Tables
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
- | Name | Age |
- | ----- | --- |
- | Bob | 27 |
- | Alice | 23 |
+ Name | Age
+--------|------
+ Bob | 27
+ Alice | 23
#### Inline Markdown within tables
-| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; | Table |
-| ------------------------ | -------------------------- | ----------------------------------- | ------ |
-| *italics* | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; | `code` |
+| Italics | Bold | Code |
+| -------- | -------- | ------ |
+| *italics* | **bold** | `code` |
## Code Blocks
#### Code block with backticks
```html
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8">
+ <meta charset="utf-8">
<title>Example HTML5 Document</title>
</head>
<body>
@@ -89,12 +80,13 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
</body>
</html>
```
+
#### Code block indented with four spaces
- <!DOCTYPE html>
+ <!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8">
+ <meta charset="utf-8">
<title>Example HTML5 Document</title>
</head>
<body>
@@ -104,10 +96,10 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Code block with Hugo's internal highlight shortcode
{{< highlight html >}}
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8">
+ <meta charset="utf-8">
<title>Example HTML5 Document</title>
</head>
<body>
@@ -132,9 +124,13 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Nested list
-* Item
-1. First Sub-item
-2. Second Sub-item
+* Fruit
+ * Apple
+ * Orange
+ * Banana
+* Dairy
+ * Milk
+ * Cheese
## Other Elements β€” abbr, sub, sup, kbd, mark
@@ -147,4 +143,3 @@ X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
-
diff --git a/exampleSite/content/post/placeholder-text.md b/exampleSite/content/post/placeholder-text.md
index db94690..7ef0e1a 100644
--- a/exampleSite/content/post/placeholder-text.md
+++ b/exampleSite/content/post/placeholder-text.md
@@ -4,10 +4,7 @@ description = "Lorem Ipsum Dolor Si Amet"
summary = ""
toc = true
authors = ["Hugo Authors", "Example Author"]
-tags = [
- "markdown",
- "text",
-]
+tags = ["markdown", "text"]
categories = []
series = ["Themes Guide"]
date = 2019-03-09
@@ -15,20 +12,14 @@ lastmod = 2019-03-09
draft = false
+++
-Lorem est tota propiore conpellat pectoribus de
-pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice
-subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
-caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis
-lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
+Lorem est tota propiore conpellat pectoribus de pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
1. Exierant elisi ambit vivere dedere
2. Duce pollice
3. Eris modo
4. Spargitque ferrea quos palude
-Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus
-silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria
-tractus malis.
+Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.
1. Comas hunc haec pietate fetum procerum dixit
2. Post torum vates letum Tiresia
@@ -44,21 +35,14 @@ tractus malis.
## Mane refeci capiebant unda mulcebat
-Victa caducifer, malo vulnere contra
-dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere
-furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.
+Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.
-Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli
-Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare
-Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert
-ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae
-vulnus haerentia iuste et exercebat, sui et.
+Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et.
-Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem
-Propoetides **parte**.
+Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**.
{{< css.inline >}}
<style>
-.canon { background: white; width: 100%; height: auto;}
+.canon { background: white; width: 100%; height: auto; }
</style>
-{{< /css.inline >}}
+{{< /css.inline >}} \ No newline at end of file