Skip to content

Commit 87b01dc

Browse files
committed
1 parent 907c159 commit 87b01dc

File tree

6 files changed

+476
-4
lines changed

6 files changed

+476
-4
lines changed

.vscode/settings.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"command-runner.commands": {
3+
"git-one-click": "cd ${workspaceFolder} && git add . && git commit -a --allow-empty-message -m '' && git push"
4+
},
5+
6+
"markdownPasteImage": {
7+
"cdnType": "s3",
8+
"tinyPngKey": "1tKLgcKNcT8YZTZDnQX7Xj43cGv4289t",
9+
"s3Bucket": "img.bmpi.dev",
10+
"s3PreUrl": "https://img.bmpi.dev/",
11+
}
12+
}

config.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,34 @@ baseURL = "https://talk.bmpi.dev"
22
languageCode = "zh-cn"
33
title = "BMPI Talks"
44

5+
disableKinds = ["sitemap", "RSS"]
6+
57
theme = "reveal-hugo"
68

9+
[author]
10+
name = "Dawei Ma"
11+
12+
# as of hugo 0.60 goldmark is the default
13+
# reveal-hugo doesn't support goldmark yet
14+
# so force to black friday
15+
[markup]
16+
# defaultMarkdownHandler = "blackfriday"
17+
[markup.goldmark.renderer]
18+
unsafe = true
19+
[markup.highlight]
20+
# we need a style that looks good in both light and dark background!
21+
style = "tango"
22+
723
[outputFormats.Reveal]
824
baseName = "index"
925
mediaType = "text/html"
1026
isHTML = true
1127

28+
[params.reveal_hugo]
29+
history = true
30+
31+
# used in content/template-example
32+
[params.reveal_hugo.templates.grey]
33+
background = "#424242"
34+
transition = "convex"
35+

content/_index.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
+++
2-
title = "My presentation"
2+
title = "Dawei Ma's Talks"
33
outputs = ["Reveal"]
44
+++
55

6-
# Hello world!
6+
~ [@Dawei Ma's](https://bmpi.dev/about/) Talks ~
77

8-
This is my first slide.
8+
---
9+
10+
## 2019
11+
12+
- [Elixir介绍](./elixir/)
13+
- [在线计算广告](./compute-ads-intro/)
14+
15+
---
16+
17+
## 2016
18+
19+
- [小白的交易之路](https://www.bmpi.dev/money/road_to_trading/)

content/compute-ads-intro/_index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
+++
2+
title = "Compute Ads Intro"
3+
outputs = ["Reveal"]
4+
[reveal_hugo]
5+
custom_theme = "reveal-hugo/themes/robot-lung.css"
6+
margin = 0.2
7+
highlight_theme = "color-brewer"
8+
transition = "slide"
9+
transition_speed = "fast"
10+
[reveal_hugo.templates.hotpink]
11+
class = "hotpink"
12+
background = "#FF4081"
13+
+++
14+
15+
## 在线计算广告
16+
17+
---
18+
19+
> 内容待补全

0 commit comments

Comments
 (0)