Skip to content

Commit

Permalink
udpate config
Browse files Browse the repository at this point in the history
  • Loading branch information
sky-bro committed Aug 26, 2020
1 parent e050f5b commit 4ae2ba2
Show file tree
Hide file tree
Showing 18 changed files with 60 additions and 46 deletions.
21 changes: 19 additions & 2 deletions archetypes/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
description:
draft: true
hideToc: false
enableToc: true
enableTocContent: false
tocPosition:
tocLevels: ["h2", "h3", "h4"]
author: '<a href="https://sky-bro.github.io" class="theme-link">Kyle</a>'
authorEmoji: 🦂
Expand All @@ -20,3 +18,22 @@ image: # images/icons/tortoise.png
libraries:
- mathjax
---
here goes my description

<!-- more -->

## Title 1

content under title 1

### Subtitle 1

something

### Subtitle 2

more...

## Title 2

content under title 2
14 changes: 7 additions & 7 deletions config/_default/menus.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

[[main]]
identifier = "presentation"
name = "Pt"
name = "Presentations"
url = "presentation"
weight = 3

Expand Down Expand Up @@ -40,12 +40,12 @@

[[main]]
identifier = "showcase"
name = "Showcase"
name = "Projects"
url = "showcase"
weight = 6

[[main]]
identifier = "publication"
name = "Pub"
url = "publication"
weight = 7
# [[main]]
# identifier = "publication"
# name = "Pub"
# url = "publication"
# weight = 7
12 changes: 6 additions & 6 deletions config/_default/menus.zh.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

[[main]]
identifier = "posts"
name = "博文"
name = "文章"
url = "posts"
weight = 5

Expand All @@ -44,8 +44,8 @@
url = "showcase"
weight = 6

[[main]]
identifier = "publication"
name = "发表"
url = "publication"
weight = 7
# [[main]]
# identifier = "publication"
# name = "发表"
# url = "publication"
# weight = 7
4 changes: 2 additions & 2 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ enableBio = true
enableBioImage = true
enableBioSocial = false
enableSidebar = true
enableSidebarTags = false
enableSidebarTags = true
enableSidebarSeries = true
enableSidebarCategories = true
enableHomeSidebarTitles = true
enableListSidebarTitles = true
enableToc = true
hideToc = false
tocFolding = true
tocPosition = "outer" # inner, outer
tocPosition = "inner" # inner, outer
enableTocSwitch = true
itemsPerCategory = 5
sidebarPosition = "left"
Expand Down
11 changes: 8 additions & 3 deletions content/en/about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ description: "About Kyle Shi / sky / Kaiyu Shi, whoami, I am an enthusiast!"
type: "about"
date: "2020-04-16"
---
![the matrix has you...](/images/about/the-matrix-has-you.gif)

## :triangular_flag_on_post: This Site

Generated using [Hugo](https://gohugo.io/),source code here: [blog-src](https://github.com/sky-bro/blog-src), and the theme is forked ([my fork](https://github.com/sky-bro/hugo-theme-zzo)) from: [hugo-theme-zzo](https://github.com/zzossig/hugo-theme-zzo)

## :sunrise: Daily Life

* A Student [@HIT](http://www.hit.edu.cn/)
* [@HIT](http://www.hit.edu.cn/)
* C / C++, Python, ASM
* Arch, VSCode
* CTF / Binary
Expand All @@ -24,6 +25,10 @@ Generated using [Hugo](https://gohugo.io/),source code here: [blog-src](https:
* Twitter: [KaiyuShi](https://twitter.com/KaiyuShi)
* GPG Pub: [Kyle.asc](/Kyle.asc) (F4CD 0E4A 3661 65D1 62E6 B6CE 7D36 AE60 55B0 60A6)

## :handshake: My Friends
## :chicken: My Friends

[TheSong](https://thesong96.github.io/) | [路人枭](http://lurenxiao1998.github.io/)
[TheSong](https://thesong96.github.io/), [路人枭](http://lurenxiao1998.github.io/)

## :musical_score: Listening

[<img src="https://spotify-readme-ky13.vercel.app/api/spotify-playing" alt="Kyle Listening" />](https://open.spotify.com/user/22sit26j5lamlvm3sgikxwuoq)
4 changes: 1 addition & 3 deletions content/en/posts/De Bruijn sequence/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
title: "De Bruijn Sequence"
date: 2020-05-04T11:58:48+08:00
description: A de Bruijn sequence of order n on a size-k alphabet A is a cyclic sequence in which every possible length-n string on A occurs exactly once as a substring.
description:
draft: false
hideToc: false
enableToc: true
enableTocContent: false
tocPosition:
tocLevels: ["h2", "h3", "h4"]
author: '<a href="https://sky-bro.github.io" class="theme-link">Kyle</a>'
authorEmoji: 🦂
Expand Down
1 change: 0 additions & 1 deletion content/en/posts/cin & cout is slow.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ cout.tie(NULL);
```
I'm almost certain that these lines are included to speed up their code. So out of curiosity, I did some searching, here's what I've found:
<!-- more -->
## Why cin & cout is slow
Expand Down
1 change: 0 additions & 1 deletion content/en/posts/clusterfuzz-local-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: "Clusterfuzz Local Setup"
date: 2020-05-18T12:59:28+08:00
description:
draft: true
hideToc: false
enableToc: true
enableTocContent: false
tocPosition:
Expand Down
1 change: 0 additions & 1 deletion content/en/posts/emoji-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: "Emoji Support"
date: 2019-12-16T12:00:06+09:00
description: "Guide to emoji usage in Hugo"
draft: true
hideToc: false
enableToc: true
enableTocContent: false
author: Kyle
Expand Down
2 changes: 0 additions & 2 deletions content/en/posts/heap in C++.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ title: "Heap in C++"
date: 2020-04-17T15:25:33+08:00
description: learn how to use heap in C++
draft: false
hideToc: false
enableToc: true
enableTocContent: false
tocPosition:
tocLevels: ["h2", "h3", "h4"]
author: '<a href="https://sky-bro.github.io" class="theme-link">Kyle</a>'
authorEmoji: 🦂
Expand Down
4 changes: 1 addition & 3 deletions content/en/posts/segment tree (iterative)/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
title: "Segment Tree (Iterative)"
date: 2020-04-17T15:53:35+08:00
description: a binary tree where each node represents an interval.
description:
draft: false
hideToc: false
enableToc: true
enableTocContent: false
tocPosition:
tocLevels: ["h2", "h3", "h4"]
author: '<a href="https://sky-bro.github.io" class="theme-link">Kyle</a>'
authorEmoji: 🦂
Expand Down
4 changes: 1 addition & 3 deletions content/en/posts/use random in C++.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
title: "Use Random in C++"
date: 2020-04-18T10:04:13+08:00
description: introduce randomness into your C++ programs.
description: introduce randomness into your C++ programs, the right way.
draft: false
hideToc: false
enableToc: true
enableTocContent: false
tocPosition:
tocLevels: ["h2", "h3", "h4"]
author: '<a href="https://sky-bro.github.io" class="theme-link">Kyle</a>'
authorEmoji: 🦂
Expand Down
4 changes: 1 addition & 3 deletions content/en/posts/wargames-bandit.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
title: "Wargames Bandit"
date: 2020-08-02T12:33:40+08:00
description:
description: "my solutions to the bandit wargame: https://overthewire.org/wargames/bandit/"
draft: false
hideToc: false
enableToc: true
enableTocContent: false
tocPosition:
tocLevels: ["h2", "h3", "h4"]
author: '<a href="https://sky-bro.github.io" class="theme-link">Kyle</a>'
authorEmoji: 🦂
Expand Down
17 changes: 11 additions & 6 deletions content/zh/about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,31 @@ description: "About Kyle Shi / sky / Kaiyu Shi, whoami, I am an enthusiast!"
type: "about"
date: "2020-04-16"
---
![the matrix has you...](/images/about/the-matrix-has-you.gif)

### :ocean: 关于本站
## :triangular_flag_on_post: 关于本站

使用[Hugo](https://gohugo.io/)生成,博客源码在[blog-src](https://github.com/sky-bro/blog-src), 主题fork([my fork](https://github.com/sky-bro/hugo-theme-zzo))自: [hugo-theme-zzo](https://github.com/zzossig/hugo-theme-zzo)

### :sunrise: 我的日常
## :sunrise: 我的日常

* 一名学生 [@哈工大](http://www.hit.edu.cn/)
* [@哈工大](http://www.hit.edu.cn/)
* C / C++, Python, ASM
* Arch, VSCode
* CTF / Binary

### :love_letter: 联系我
## :love_letter: 联系我

* 邮件: [sky_io@outlook.com](mailto:sky_io@outlook.com)
* 微信: sky_bro
* 脸书: [Kaiyu Shi](https://www.facebook.com/profile.php?id=100005027239118)
* 推特: [KaiyuShi](https://twitter.com/KaiyuShi)
* GPG公钥: [Kyle.asc](/Kyle.asc) (F4CD 0E4A 3661 65D1 62E6 B6CE 7D36 AE60 55B0 60A6)

### :handshake: 我的朋友
## :chicken: 我的朋友

[TheSong](https://thesong96.github.io/) | [路人枭](http://lurenxiao1998.github.io/)
[TheSong](https://thesong96.github.io/), [路人枭](http://lurenxiao1998.github.io/)

## :musical_score: 正在听

[<img src="https://spotify-readme-ky13.vercel.app/api/spotify-playing" alt="Kyle Listening" />](https://open.spotify.com/user/22sit26j5lamlvm3sgikxwuoq)
2 changes: 1 addition & 1 deletion content/zh/gallery/cartoon/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ description: "cartoon gallery"
image: images/feature2/bam.png
---

Sample images from [Pixabay](https://pixabay.com)
<!-- Sample images from [Pixabay](https://pixabay.com) -->
2 changes: 1 addition & 1 deletion content/zh/gallery/photo/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ images:
image: images/feature2/gallery.png
---

Sample images from [Pixabay](https://pixabay.com)
<!-- Sample images from [Pixabay](https://pixabay.com) -->
2 changes: 1 addition & 1 deletion content/zh/posts/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ aliases:
- "posts"
- "articles"
- "blog"
title: "博文"
title: "文章"
author: "Kyle"
tags:
description: "Post page"
Expand Down
Binary file added static/images/about/the-matrix-has-you.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4ae2ba2

Please sign in to comment.