-
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from HEIGE-PCloud/dev/test-pages
Tests: Create test pages
- Loading branch information
Showing
11 changed files
with
829 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,5 @@ license: "" | |
--- | ||
|
||
<!--more--> | ||
|
||
TODO |
16 changes: 16 additions & 0 deletions
16
exampleSite/content/posts/tests/bilibili-tests/index.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: "Bilibili Tests" | ||
date: 2021-04-16T14:32:18+01:00 | ||
lastmod: 2021-04-16T14:32:18+01:00 | ||
draft: false | ||
author: "PCloud" | ||
authorLink: "https://github.com/HEIGE-PCloud" | ||
description: "Bilibili Tests" | ||
categories: [Tests] | ||
--- | ||
|
||
<!--more--> | ||
|
||
{{< bilibili BV1Sx411T7QQ >}} | ||
|
||
{{< bilibili id=BV1TJ411C7An p=3 >}} |
61 changes: 61 additions & 0 deletions
61
exampleSite/content/posts/tests/builtin-shortcodes-tests/index.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
title: "Built-in Shortcodes Tests" | ||
date: 2021-04-16T14:08:05+01:00 | ||
lastmod: 2021-04-16T14:08:05+01:00 | ||
draft: false | ||
author: "PCloud" | ||
authorLink: "https://github.com/HEIGE-PCloud" | ||
description: "Built-in Shortcodes Tests" | ||
categories: [Tests] | ||
hiddenFromHomePage: false | ||
hiddenFromSearch: false | ||
--- | ||
|
||
<!--more--> | ||
|
||
## figure | ||
|
||
{{< figure src="https://octodex.github.com/images/minion.png" title="octodex" >}} | ||
|
||
## gist | ||
|
||
{{< gist spf13 7896402 >}} | ||
|
||
## highlight | ||
|
||
{{< highlight html >}} | ||
<section id="main"> | ||
<div> | ||
<h1 id="title">{{ .Title }}</h1> | ||
{{ range .Pages }} | ||
{{ .Render "summary"}} | ||
{{ end }} | ||
</div> | ||
</section> | ||
{{< /highlight >}} | ||
|
||
|
||
TODO: fix | ||
|
||
## param | ||
|
||
{{< param description >}} | ||
|
||
## ref and relref | ||
|
||
[ref]({{< ref "about/index.en.md" >}}) | ||
|
||
[relref]({{< relref "../../../about/index.en.md" >}}) | ||
|
||
## tweet | ||
|
||
{{< tweet 877500564405444608 >}} | ||
|
||
## vimeo | ||
|
||
{{< vimeo 146022717 >}} | ||
|
||
## youtube | ||
|
||
{{< youtube w7Ft2ymGmfc >}} |
297 changes: 297 additions & 0 deletions
297
exampleSite/content/posts/tests/echarts-tests/index.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,297 @@ | ||
--- | ||
title: "Echarts Tests" | ||
date: 2021-04-16T14:41:49+01:00 | ||
lastmod: 2021-04-16T14:41:49+01:00 | ||
draft: false | ||
author: "PCloud" | ||
authorLink: "https://github.com/HEIGE-PCloud" | ||
description: "Echarts Tests" | ||
categories: [Tests] | ||
--- | ||
|
||
<!--more--> | ||
|
||
{{< echarts >}} | ||
{ | ||
"title": { | ||
"text": "Summary Line Chart", | ||
"top": "2%", | ||
"left": "center" | ||
}, | ||
"tooltip": { | ||
"trigger": "axis" | ||
}, | ||
"legend": { | ||
"data": ["Email Marketing", "Affiliate Advertising", "Video Advertising", "Direct View", "Search Engine"], | ||
"top": "10%" | ||
}, | ||
"grid": { | ||
"left": "5%", | ||
"right": "5%", | ||
"bottom": "5%", | ||
"top": "20%", | ||
"containLabel": true | ||
}, | ||
"toolbox": { | ||
"feature": { | ||
"saveAsImage": { | ||
"title": "Save as Image" | ||
} | ||
} | ||
}, | ||
"xAxis": { | ||
"type": "category", | ||
"boundaryGap": false, | ||
"data": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] | ||
}, | ||
"yAxis": { | ||
"type": "value" | ||
}, | ||
"series": [ | ||
{ | ||
"name": "Email Marketing", | ||
"type": "line", | ||
"stack": "Total", | ||
"data": [120, 132, 101, 134, 90, 230, 210] | ||
}, | ||
{ | ||
"name": "Affiliate Advertising", | ||
"type": "line", | ||
"stack": "Total", | ||
"data": [220, 182, 191, 234, 290, 330, 310] | ||
}, | ||
{ | ||
"name": "Video Advertising", | ||
"type": "line", | ||
"stack": "Total", | ||
"data": [150, 232, 201, 154, 190, 330, 410] | ||
}, | ||
{ | ||
"name": "Direct View", | ||
"type": "line", | ||
"stack": "Total", | ||
"data": [320, 332, 301, 334, 390, 330, 320] | ||
}, | ||
{ | ||
"name": "Search Engine", | ||
"type": "line", | ||
"stack": "Total", | ||
"data": [820, 932, 901, 934, 1290, 1330, 1320] | ||
} | ||
] | ||
} | ||
{{< /echarts >}} | ||
|
||
{{< echarts >}} | ||
title: | ||
text: Summary Line Chart | ||
top: 2% | ||
left: center | ||
tooltip: | ||
trigger: axis | ||
legend: | ||
data: | ||
- Email Marketing | ||
- Affiliate Advertising | ||
- Video Advertising | ||
- Direct View | ||
- Search Engine | ||
top: 10% | ||
grid: | ||
left: 5% | ||
right: 5% | ||
bottom: 5% | ||
top: 20% | ||
containLabel: true | ||
toolbox: | ||
feature: | ||
saveAsImage: | ||
title: Save as Image | ||
xAxis: | ||
type: category | ||
boundaryGap: false | ||
data: | ||
- Monday | ||
- Tuesday | ||
- Wednesday | ||
- Thursday | ||
- Friday | ||
- Saturday | ||
- Sunday | ||
yAxis: | ||
type: value | ||
series: | ||
- name: Email Marketing | ||
type: line | ||
stack: Total | ||
data: | ||
- 120 | ||
- 132 | ||
- 101 | ||
- 134 | ||
- 90 | ||
- 230 | ||
- 210 | ||
- name: Affiliate Advertising | ||
type: line | ||
stack: Total | ||
data: | ||
- 220 | ||
- 182 | ||
- 191 | ||
- 234 | ||
- 290 | ||
- 330 | ||
- 310 | ||
- name: Video Advertising | ||
type: line | ||
stack: Total | ||
data: | ||
- 150 | ||
- 232 | ||
- 201 | ||
- 154 | ||
- 190 | ||
- 330 | ||
- 410 | ||
- name: Direct View | ||
type: line | ||
stack: Total | ||
data: | ||
- 320 | ||
- 332 | ||
- 301 | ||
- 334 | ||
- 390 | ||
- 330 | ||
- 320 | ||
- name: Search Engine | ||
type: line | ||
stack: Total | ||
data: | ||
- 820 | ||
- 932 | ||
- 901 | ||
- 934 | ||
- 1290 | ||
- 1330 | ||
- 1320 | ||
{{< /echarts >}} | ||
|
||
{{< echarts >}} | ||
[title] | ||
text = "Summary Line Chart" | ||
top = "2%" | ||
left = "center" | ||
|
||
[tooltip] | ||
trigger = "axis" | ||
|
||
[legend] | ||
data = [ | ||
"Email Marketing", | ||
"Affiliate Advertising", | ||
"Video Advertising", | ||
"Direct View", | ||
"Search Engine" | ||
] | ||
top = "10%" | ||
|
||
[grid] | ||
left = "5%" | ||
right = "5%" | ||
bottom = "5%" | ||
top = "20%" | ||
containLabel = true | ||
|
||
[toolbox] | ||
[toolbox.feature] | ||
[toolbox.feature.saveAsImage] | ||
title = "Save as Image" | ||
|
||
[xAxis] | ||
type = "category" | ||
boundaryGap = false | ||
data = [ | ||
"Monday", | ||
"Tuesday", | ||
"Wednesday", | ||
"Thursday", | ||
"Friday", | ||
"Saturday", | ||
"Sunday" | ||
] | ||
|
||
[yAxis] | ||
type = "value" | ||
|
||
[[series]] | ||
name = "Email Marketing" | ||
type = "line" | ||
stack = "Total" | ||
data = [ | ||
120.0, | ||
132.0, | ||
101.0, | ||
134.0, | ||
90.0, | ||
230.0, | ||
210.0 | ||
] | ||
|
||
[[series]] | ||
name = "Affiliate Advertising" | ||
type = "line" | ||
stack = "Total" | ||
data = [ | ||
220.0, | ||
182.0, | ||
191.0, | ||
234.0, | ||
290.0, | ||
330.0, | ||
310.0 | ||
] | ||
|
||
[[series]] | ||
name = "Video Advertising" | ||
type = "line" | ||
stack = "Total" | ||
data = [ | ||
150.0, | ||
232.0, | ||
201.0, | ||
154.0, | ||
190.0, | ||
330.0, | ||
410.0 | ||
] | ||
|
||
[[series]] | ||
name = "Direct View" | ||
type = "line" | ||
stack = "Total" | ||
data = [ | ||
320.0, | ||
332.0, | ||
301.0, | ||
334.0, | ||
390.0, | ||
330.0, | ||
320.0 | ||
] | ||
|
||
[[series]] | ||
name = "Search Engine" | ||
type = "line" | ||
stack = "Total" | ||
data = [ | ||
820.0, | ||
932.0, | ||
901.0, | ||
934.0, | ||
1290.0, | ||
1330.0, | ||
1320.0 | ||
] | ||
{{< /echarts >}} |
Oops, something went wrong.