mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-09 14:59:45 +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"
|
||||
|
||||
hasCJKLanguage = true # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文
|
||||
paginate = 3 # (可选)首页显示的文章条目数量,默认为10
|
||||
paginate = 3 # 首页每页显示的文章数
|
||||
disqusShortname = "" # disqus_shortname
|
||||
googleAnalytics = "" # UA-XXXXXXXX-X
|
||||
copyright = "" # default: author.name ↓ # 默认为下面配置的author.name ↓
|
||||
|
||||
[author] # require # 必需
|
||||
[author] # essential # 必需
|
||||
name = "olOwOlo"
|
||||
|
||||
[sitemap] # require # 必需
|
||||
[sitemap] # essential # 必需
|
||||
changefreq = "weekly"
|
||||
priority = 0.5
|
||||
filename = "sitemap.xml"
|
||||
|
@ -46,12 +46,12 @@ copyright = "" # default: author.name ↓ # 默认为下面配
|
|||
|
||||
since = "2017" # Site creation time # 站点建立时间
|
||||
|
||||
# site info (option) # 站点信息(可选)
|
||||
# site info (optional) # 站点信息(可选,不需要的可以直接注释掉)
|
||||
logoTitle = "Even" # default: the title value # 默认值: 上面设置的title值
|
||||
keywords = ["Hugo", "theme","even"]
|
||||
description = "Hugo theme even example site."
|
||||
|
||||
# paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目
|
||||
# paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目,建议修改为一个较大的值
|
||||
archive-paginate = 3
|
||||
|
||||
# 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.
|
||||
comment: false
|
||||
toc: false
|
||||
# toc: false
|
||||
# reward: false
|
||||
mathjax: false
|
||||
|
||||
|
|
|
@ -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. 表格
|
||||
|
||||
|
|
|
@ -33,6 +33,14 @@ public class HelloWorld {
|
|||
}
|
||||
```
|
||||
|
||||
```kotlin
|
||||
package hello
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
println("Hello World!")
|
||||
}
|
||||
```
|
||||
|
||||
```c
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
{{- end }}
|
||||
|
||||
<!-- 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.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 -}}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<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 }}
|
||||
{{- 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) }}
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "even-src",
|
||||
"version": "2.6.6",
|
||||
"version": "2.7.0",
|
||||
"description": "even source file",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue