mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2025-02-22 20:20:00 +00:00
docs: update example site
release 2.7.0
This commit is contained in:
parent
02d9d03d87
commit
c6a71c268b
7 changed files with 20 additions and 11 deletions
|
@ -7,15 +7,15 @@ enableEmoji = true
|
||||||
theme = "even"
|
theme = "even"
|
||||||
|
|
||||||
hasCJKLanguage = true # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文
|
hasCJKLanguage = true # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文
|
||||||
paginate = 3 # (可选)首页显示的文章条目数量,默认为10
|
paginate = 3 # 首页每页显示的文章数
|
||||||
disqusShortname = "" # disqus_shortname
|
disqusShortname = "" # disqus_shortname
|
||||||
googleAnalytics = "" # UA-XXXXXXXX-X
|
googleAnalytics = "" # UA-XXXXXXXX-X
|
||||||
copyright = "" # default: author.name ↓ # 默认为下面配置的author.name ↓
|
copyright = "" # default: author.name ↓ # 默认为下面配置的author.name ↓
|
||||||
|
|
||||||
[author] # require # 必需
|
[author] # essential # 必需
|
||||||
name = "olOwOlo"
|
name = "olOwOlo"
|
||||||
|
|
||||||
[sitemap] # require # 必需
|
[sitemap] # essential # 必需
|
||||||
changefreq = "weekly"
|
changefreq = "weekly"
|
||||||
priority = 0.5
|
priority = 0.5
|
||||||
filename = "sitemap.xml"
|
filename = "sitemap.xml"
|
||||||
|
@ -46,12 +46,12 @@ copyright = "" # default: author.name ↓ # 默认为下面配
|
||||||
|
|
||||||
since = "2017" # Site creation time # 站点建立时间
|
since = "2017" # Site creation time # 站点建立时间
|
||||||
|
|
||||||
# site info (option) # 站点信息(可选)
|
# site info (optional) # 站点信息(可选,不需要的可以直接注释掉)
|
||||||
logoTitle = "Even" # default: the title value # 默认值: 上面设置的title值
|
logoTitle = "Even" # default: the title value # 默认值: 上面设置的title值
|
||||||
keywords = ["Hugo", "theme","even"]
|
keywords = ["Hugo", "theme","even"]
|
||||||
description = "Hugo theme even example site."
|
description = "Hugo theme even example site."
|
||||||
|
|
||||||
# paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目
|
# paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目,建议修改为一个较大的值
|
||||||
archive-paginate = 3
|
archive-paginate = 3
|
||||||
|
|
||||||
# The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/
|
# The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/
|
||||||
|
|
|
@ -9,7 +9,7 @@ author: "Michael Henderson"
|
||||||
|
|
||||||
# you can close something for this content if you open it in config.toml.
|
# you can close something for this content if you open it in config.toml.
|
||||||
comment: false
|
comment: false
|
||||||
toc: false
|
# toc: false
|
||||||
# reward: false
|
# reward: false
|
||||||
mathjax: false
|
mathjax: false
|
||||||
|
|
||||||
|
|
|
@ -4,13 +4,14 @@ date: 2017-08-23T18:03:09+08:00
|
||||||
lastmod: 2017-08-23T18:03:09+08:00
|
lastmod: 2017-08-23T18:03:09+08:00
|
||||||
draft: false
|
draft: false
|
||||||
tags: ["preview", "Theme preview", "tag-3"]
|
tags: ["preview", "Theme preview", "tag-3"]
|
||||||
categories: ["Theme preview"]
|
categories: ["Theme preview", "category-2", "category-3"]
|
||||||
|
|
||||||
weight: 10
|
weight: 10
|
||||||
|
|
||||||
# you can close something for this content if you open it in config.toml.
|
# you can close something for this content if you open it in config.toml.
|
||||||
comment: false
|
comment: false
|
||||||
# toc: false
|
# toc: false
|
||||||
|
autoCollapseToc: false
|
||||||
# reward: false
|
# reward: false
|
||||||
# mathjax: 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. 表格
|
## 8. 表格
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,14 @@ public class HelloWorld {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```kotlin
|
||||||
|
package hello
|
||||||
|
|
||||||
|
fun main(args: Array<String>) {
|
||||||
|
println("Hello World!")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
```c
|
```c
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
<link href="{{ "dist/even.min.css?v=2.6.6" | relURL }}" rel="stylesheet">
|
<link href="{{ "dist/even.min.css?v=2.7.0" | relURL }}" rel="stylesheet">
|
||||||
{{ if .Site.Params.bootcdn -}}
|
{{ if .Site.Params.bootcdn -}}
|
||||||
{{ if .Site.Params.fancybox }}<link href="https://cdn.bootcss.com/fancybox/3.1.20/jquery.fancybox.min.css" rel="stylesheet" crossorigin="anonymous">{{ end }}
|
{{ if .Site.Params.fancybox }}<link href="https://cdn.bootcss.com/fancybox/3.1.20/jquery.fancybox.min.css" rel="stylesheet" crossorigin="anonymous">{{ end }}
|
||||||
{{- else if .Site.Params.publicCDN.enable -}}
|
{{- else if .Site.Params.publicCDN.enable -}}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<script type="text/javascript" src="{{ "lib/slideout/slideout-1.0.1.min.js" | relURL }}"></script>
|
<script type="text/javascript" src="{{ "lib/slideout/slideout-1.0.1.min.js" | relURL }}"></script>
|
||||||
{{ if .Site.Params.fancybox }}<script type="text/javascript" src="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.js" | relURL }}"></script>{{ end }}
|
{{ if .Site.Params.fancybox }}<script type="text/javascript" src="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.js" | relURL }}"></script>{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<script type="text/javascript" src="{{ "dist/even.min.js?v=2.6.6" | relURL }}"></script>
|
<script type="text/javascript" src="{{ "dist/even.min.js?v=2.7.0" | relURL }}"></script>
|
||||||
|
|
||||||
{{- if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) }}
|
{{- if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) }}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "even-src",
|
"name": "even-src",
|
||||||
"version": "2.6.6",
|
"version": "2.7.0",
|
||||||
"description": "even source file",
|
"description": "even source file",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in a new issue