From c6a71c268bc7a8b1e94174fa754dee9d5c10bf67 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Tue, 5 Dec 2017 20:09:12 +0800 Subject: docs: update example site release 2.7.0 --- exampleSite/content/post/english-preview.md | 2 +- exampleSite/content/post/even-preview.md | 5 +++-- exampleSite/content/post/syntax-highlighting.md | 8 ++++++++ 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'exampleSite/content/post') 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) { + println("Hello World!") +} +``` + ```c #include -- cgit v1.2.3