exampleSite update
|
@ -1,4 +1,4 @@
|
|||
logoText = "Zzo theme"
|
||||
logoText = "Zzo"
|
||||
logoType = "short" # long, short
|
||||
description = "The Zzo theme for Hugo example site."
|
||||
custom_css = []
|
||||
|
|
|
@ -10,10 +10,12 @@ header:
|
|||
subtitle:
|
||||
- The world’s fastest framework for building websites
|
||||
titleColor:
|
||||
titleShadow: false
|
||||
titleShadow: true
|
||||
titleFontSize: 44
|
||||
subtitleFontSize: 16
|
||||
spaceBetweenTitleSubtitle: 20
|
||||
subtitleColor:
|
||||
subtitleCursive: true
|
||||
subtitleFontSize: 18
|
||||
spaceBetweenTitleSubtitle: 16
|
||||
|
||||
- type: img
|
||||
imageSrc: images/header/background.jpg
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
---
|
||||
title: "Cartoon"
|
||||
date: 2018-10-11T10:20:16+09:00
|
||||
date: 2019-10-31T10:20:16+09:00
|
||||
type: "gallery"
|
||||
mode: "at-once" # at-once is a default value
|
||||
description: "cartoon gallery"
|
||||
featured_image: feature2/bam.png
|
||||
---
|
||||
|
||||
Sample images from [Pixabay](https://pixabay.com)
|
||||
|
|
|
@ -1,13 +1,20 @@
|
|||
---
|
||||
title: "Photo"
|
||||
date: 2018-10-12T10:20:16+09:00
|
||||
title: Photo
|
||||
date: 2019-10-31T10:20:16+09:00
|
||||
description: Photo Gallery
|
||||
type: "gallery"
|
||||
mode: "one-by-one"
|
||||
type: gallery
|
||||
mode: one-by-one
|
||||
description: "photo gallery"
|
||||
images:
|
||||
- image: albatross.png
|
||||
caption: albatross caption
|
||||
- image: teddy.png
|
||||
caption: teddy caption
|
||||
- image: beach.jpg
|
||||
caption: beach, women, car
|
||||
- image: beautiful.jpg
|
||||
caption: beautiful women
|
||||
- image: people.jpg
|
||||
caption: man
|
||||
- image: child.jpg
|
||||
caption: child
|
||||
featured_image: feature2/gallery.png
|
||||
---
|
||||
|
||||
Sample images from [Pixabay](https://pixabay.com)
|
||||
|
|
|
@ -1,19 +1,21 @@
|
|||
+++
|
||||
author = "Hugo Authors"
|
||||
title = "Emoji Support"
|
||||
date = 2019-12-16T12:00:06+09:00
|
||||
description = "Guide to emoji usage in Hugo"
|
||||
draft = false
|
||||
enableToc = false
|
||||
enableTocContent = false
|
||||
tags = [
|
||||
"emoji",
|
||||
"gamoji",
|
||||
"namoji",
|
||||
"bamoji",
|
||||
"amoji"
|
||||
]
|
||||
+++
|
||||
---
|
||||
author: "Hugo Authors"
|
||||
title: "Emoji Support"
|
||||
date: 2019-12-16T12:00:06+09:00
|
||||
description: "Guide to emoji usage in Hugo"
|
||||
draft: false
|
||||
hideToc: false
|
||||
enableToc: true
|
||||
enableTocContent: false
|
||||
author: Kim
|
||||
authorEmoji: 👻
|
||||
tags:
|
||||
- emoji
|
||||
- gamoji
|
||||
- namoji
|
||||
- bamoji
|
||||
- amoji
|
||||
---
|
||||
|
||||
Emoji can be enabled in a Hugo project in a number of ways.
|
||||
<!--more-->
|
||||
|
|
|
@ -1,22 +1,25 @@
|
|||
+++
|
||||
author = "Hugo Authors"
|
||||
title = "Markdown Syntax Guide"
|
||||
date = 2019-12-20T12:00:06+09:00
|
||||
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
|
||||
tags = [
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
"themes",
|
||||
]
|
||||
categories = [
|
||||
"themes",
|
||||
"syntax",
|
||||
]
|
||||
series = ["Themes Guide"]
|
||||
aliases = ["migrate-from-jekyl"]
|
||||
featured_image = "feature1/markdown.png"
|
||||
+++
|
||||
---
|
||||
title: Markdown Syntax Guide
|
||||
date: 2019-12-20T12:00:06+09:00
|
||||
description: Sample article showcasing basic Markdown syntax and formatting for HTML elements.
|
||||
draft: false
|
||||
hideToc: false
|
||||
enableToc: true
|
||||
enableTocContent: true
|
||||
author: Choi
|
||||
authorEmoji: 🤖
|
||||
tags:
|
||||
- markdown
|
||||
- css
|
||||
- html
|
||||
- themes
|
||||
categories:
|
||||
- themes
|
||||
- syntax
|
||||
series:
|
||||
- Themes Guide
|
||||
featured_image: "feature1/markdown.png"
|
||||
---
|
||||
|
||||
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.
|
||||
<!--more-->
|
||||
|
@ -140,7 +143,7 @@ html
|
|||
|
||||
H<sub>2</sub>O
|
||||
|
||||
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||
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.
|
||||
|
||||
|
|
|
@ -3,6 +3,12 @@ author: Hugo Authors
|
|||
title: Math Typesetting
|
||||
date: 2019-12-17T12:00:06+09:00
|
||||
description: A brief guide to setup KaTeX
|
||||
draft: false
|
||||
hideToc: false
|
||||
enableToc: true
|
||||
enableTocContent: false
|
||||
author: Park
|
||||
authorEmoji: 👽
|
||||
libraries:
|
||||
- katex
|
||||
---
|
||||
|
|
|
@ -1,14 +1,18 @@
|
|||
+++
|
||||
author = "Hugo Authors"
|
||||
title = "Rich Content"
|
||||
date = 2019-12-19T12:00:06+09:00
|
||||
description = "A brief description of Hugo Shortcodes"
|
||||
tags = [
|
||||
"shortcodes",
|
||||
"privacy",
|
||||
]
|
||||
featured_image = "feature2/content.png"
|
||||
+++
|
||||
---
|
||||
title: "Rich Content"
|
||||
date: 2019-12-19T12:00:06+09:00
|
||||
description: "A brief description of Hugo Shortcodes"
|
||||
draft: false
|
||||
hideToc: false
|
||||
enableToc: true
|
||||
enableTocContent: false
|
||||
author: Lee
|
||||
authorEmoji: 👺
|
||||
tags:
|
||||
- shortcodes
|
||||
- privacy
|
||||
featured_image: "feature2/content.png"
|
||||
---
|
||||
|
||||
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.
|
||||
<!--more-->
|
||||
|
|
|
@ -1,24 +1,22 @@
|
|||
---
|
||||
title: "Syntax highlighting"
|
||||
date: 2019-10-11T10:33:41+09:00
|
||||
date: 2019-12-18T10:33:41+09:00
|
||||
description: "Syntax highlighting test"
|
||||
draft: false
|
||||
hideToc: false
|
||||
enableToc: true
|
||||
enableTocContent: false
|
||||
author: Jeus
|
||||
authorEmoji: 🎅
|
||||
tags:
|
||||
- hugo
|
||||
series:
|
||||
-
|
||||
categories:
|
||||
- hugo
|
||||
featured_image: feature2/color-palette.png
|
||||
---
|
||||
|
||||
Dolore in consectetur irure qui laborum. Adipisicing cillum ad laboris dolor. Quis consectetur ullamco esse ad mollit anim sint nostrud esse. Irure voluptate ex fugiat voluptate ea fugiat laboris.
|
||||
|
||||
> This is a blockqute.
|
||||
|
||||
* * *
|
||||
line
|
||||
* * *
|
||||
line
|
||||
|
||||
## Code Syntax Highlighting
|
||||
|
||||
Verify the following code blocks render as code blocks and highlight properly.
|
||||
|
|
|
@ -9,7 +9,7 @@ series:
|
|||
-
|
||||
categories:
|
||||
-
|
||||
featured_image: "feature1/golang.png"
|
||||
featured_image: "feature1/number-four.png"
|
||||
plugins:
|
||||
- highlight
|
||||
- zoom
|
||||
|
|
|
@ -9,7 +9,7 @@ series:
|
|||
-
|
||||
categories:
|
||||
-
|
||||
featured_image: "feature2/owl.png"
|
||||
featured_image: "feature1/number-one.png"
|
||||
revealBackgroundColor: "" # #fff or rgba() or hsl()
|
||||
revealBackgroundImage: "" # /images/myImage.png <= static folder path
|
||||
revealBackgroundPosition: "" # left top, left center, left bottom, right top, right center ...
|
||||
|
|
|
@ -9,7 +9,7 @@ series:
|
|||
-
|
||||
categories:
|
||||
-
|
||||
featured_image: "feature1/reindeer.png"
|
||||
featured_image: "feature1/number-two.png"
|
||||
revealBackgroundColor: "" # #fff or rgba() or hsl()
|
||||
revealBackgroundImage: "" # /images/myImage.png <= static folder path
|
||||
revealBackgroundPosition: "" # left top, left center, left bottom, right top, right center ...
|
||||
|
|
|
@ -9,7 +9,7 @@ series:
|
|||
-
|
||||
categories:
|
||||
-
|
||||
featured_image: "feature2/albatross.png"
|
||||
featured_image: "feature1/number-three.png"
|
||||
plugins:
|
||||
- highlight
|
||||
- zoom
|
||||
|
|
Before Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 7.7 KiB |