aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/content
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-12-05 20:09:12 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-12-05 20:09:12 +0800
commitc6a71c268bc7a8b1e94174fa754dee9d5c10bf67 (patch)
tree3a38695b3402ef6ddc9321786e24a4cf393b91e0 /exampleSite/content
parent02d9d03d873b666b37b865c2323078ce7c433558 (diff)
docs: update example site
release 2.7.0
Diffstat (limited to 'exampleSite/content')
-rw-r--r--exampleSite/content/post/english-preview.md2
-rw-r--r--exampleSite/content/post/even-preview.md5
-rw-r--r--exampleSite/content/post/syntax-highlighting.md8
3 files changed, 12 insertions, 3 deletions
diff --git a/exampleSite/content/post/english-preview.md b/exampleSite/content/post/english-preview.md
index 18cde73..811cd6e 100644
--- a/exampleSite/content/post/english-preview.md
+++ b/exampleSite/content/post/english-preview.md
@@ -9,7 +9,7 @@ author: "Michael Henderson"
# you can close something for this content if you open it in config.toml.
comment: false
-toc: false
+# toc: false
# reward: false
mathjax: false
diff --git a/exampleSite/content/post/even-preview.md b/exampleSite/content/post/even-preview.md
index b3a7166..ab826c9 100644
--- a/exampleSite/content/post/even-preview.md
+++ b/exampleSite/content/post/even-preview.md
@@ -4,13 +4,14 @@ date: 2017-08-23T18:03:09+08:00
lastmod: 2017-08-23T18:03:09+08:00
draft: false
tags: ["preview", "Theme preview", "tag-3"]
-categories: ["Theme preview"]
+categories: ["Theme preview", "category-2", "category-3"]
weight: 10
# you can close something for this content if you open it in config.toml.
comment: false
# toc: false
+autoCollapseToc: false
# reward: false
# mathjax: false
@@ -137,7 +138,7 @@ if (document.getElementById('my-player') !== null) {
带标题的图片,如下图👇
-{{% figure src="https://raw.githubusercontent.com/olOwOlo/hugo-theme-even/master/images/showcase.png" alt="hugo even showcase" title="showcase.png" %}}
+{{% figure class="center" src="https://raw.githubusercontent.com/olOwOlo/hugo-theme-even/master/images/showcase.png" alt="hugo even showcase" title="showcase.png" %}}
## 8. 表格
diff --git a/exampleSite/content/post/syntax-highlighting.md b/exampleSite/content/post/syntax-highlighting.md
index c9b4490..686ba08 100644
--- a/exampleSite/content/post/syntax-highlighting.md
+++ b/exampleSite/content/post/syntax-highlighting.md
@@ -33,6 +33,14 @@ public class HelloWorld {
}
```
+```kotlin
+package hello
+
+fun main(args: Array<String>) {
+ println("Hello World!")
+}
+```
+
```c
#include <stdio.h>