Skip to content

Commit

Permalink
update 111024-1021
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiloven945 committed Nov 10, 2024
1 parent 25dd894 commit f9c5187
Show file tree
Hide file tree
Showing 20 changed files with 156 additions and 40 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"yaml.schemas": {
"https://json.schemastore.org/hugo.json": "file:///d%3A/Users/yan_h/Desktop/Blog/.github/workflows/hugo.yaml"
"https://json.schemastore.org/hugo.json": "file:///d%3A/Users/yan_h/Desktop/Blog/.github/workflows/hugo.yaml",
"https://raw.githubusercontent.com/Azure/Azure-Landing-Zones-Library/main/schemas/default_policy_values.json": "file:///d%3A/Users/yan_h/Desktop/Blog/hugo.yaml"
}
}
Binary file added assets/avartar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/backgrounds/1730047334321.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fonts/HarmonyOSSansSC-Bold-Italic.woff2
Binary file not shown.
Binary file added assets/fonts/HarmonyOSSansSC-Bold.woff2
Binary file not shown.
Binary file added assets/fonts/HarmonyOSSansSC-Medium-Italic.woff2
Binary file not shown.
Binary file added assets/fonts/HarmonyOSSansSC-Medium.woff2
Binary file not shown.
File renamed without changes.
9 changes: 0 additions & 9 deletions content/categories/Test/_index.md

This file was deleted.

Binary file not shown.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: "Archives"
date: 2019-05-28
layout: "archives"
slug: "archives"
menu:
Expand Down
10 changes: 10 additions & 0 deletions content/page/archives/index.zh-cn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: "归档"
layout: "archives"
slug: "archives"
menu:
main:
weight: -70
params:
icon: archives
---
File renamed without changes.
37 changes: 37 additions & 0 deletions content/page/links/index.zh-cn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: Links
links:
- title: GitHub
description: GitHub is the world's largest software development platform.
website: https://github.com
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
- title: TypeScript
description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
website: https://www.typescriptlang.org
image: ts-logo-128.jpg
menu:
main:
weight: -50
params:
icon: link

comments: false
---

To use this feature, add `links` section to frontmatter.

This page's frontmatter:

```yaml
links:
- title: GitHub
description: GitHub is the world's largest software development platform.
website: https://github.com
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
- title: TypeScript
description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
website: https://www.typescriptlang.org
image: ts-logo-128.jpg
```
`image` field accepts both local and external images.
File renamed without changes.
13 changes: 13 additions & 0 deletions content/page/search/index.zh-cn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: "搜索"
slug: "search"
layout: "search"
outputs:
- html
- json
menu:
main:
weight: -60
params:
icon: search
---
6 changes: 4 additions & 2 deletions content/post/chinese-test/index.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ categories:

而这些并不是完全重要,更加重要的问题是, 带着这些问题,我们来审视一下学生会退会。 既然如何, 对我个人而言,学生会退会不仅仅是一个重大的事件,还可能会改变我的人生。 我们不得不面对一个非常尴尬的事实,那就是, 可是,即使是这样,学生会退会的出现仍然代表了一定的意义。 学生会退会,发生了会如何,不发生又会如何。 经过上述讨论, 生活中,若学生会退会出现了,我们就不得不考虑它出现了的事实。 学生会退会,到底应该如何实现。 这样看来, 在这种困难的抉择下,本人思来想去,寝食难安。 对我个人而言,学生会退会不仅仅是一个重大的事件,还可能会改变我的人生。 就我个人来说,学生会退会对我的意义,不能不说非常重大。 莎士比亚曾经提到过,人的一生是短的,但如果卑劣地过这一生,就太长了。这似乎解答了我的疑惑。 莫扎特说过一句富有哲理的话,谁和我一样用功,谁就会和我一样成功。这启发了我, 对我个人而言,学生会退会不仅仅是一个重大的事件,还可能会改变我的人生。 学生会退会,到底应该如何实现。 一般来说, 从这个角度来看, 这种事实对本人来说意义重大,相信对这个世界也是有一定意义的。 在这种困难的抉择下,本人思来想去,寝食难安。 了解清楚学生会退会到底是一种怎么样的存在,是解决一切问题的关键。 一般来说, 生活中,若学生会退会出现了,我们就不得不考虑它出现了的事实。 问题的关键究竟为何? 而这些并不是完全重要,更加重要的问题是。

奥斯特洛夫斯基曾经说过,共同的事业,共同的斗争,可以使人们产生忍受一切的力量。 带着这句话,我们还要更加慎重的审视这个问题: 一般来讲,我们都必须务必慎重的考虑考虑。 既然如此, 这种事实对本人来说意义重大,相信对这个世界也是有一定意义的。 带着这些问题,我们来审视一下学生会退会。 我认为, 我认为, 在这种困难的抉择下,本人思来想去,寝食难安。 问题的关键究竟为何? 每个人都不得不面对这些问题。 在面对这种问题时, 要想清楚,学生会退会,到底是一种怎么样的存在。 我认为, 既然如此, 每个人都不得不面对这些问题。 在面对这种问题时, 那么, 我认为, 学生会退会因何而发生。
奥斯特洛夫斯基曾经说过,共同的事业,共同的斗争,可以使人们产生忍受一切的力量。 带着这句话,我们还要更加慎重的审视这个问题: 一般来讲,我们都必须务必慎重的考虑考虑。 既然如此, 这种事实对本人来说意义重大,相信对这个世界也是有一定意义的。 带着这些问题,我们来审视一下学生会退会。 我认为, 我认为, 在这种困难的抉择下,本人思来想去,寝食难安。 问题的关键究竟为何? 每个人都不得不面对这些问题。 在面对这种问题时, 要想清楚,学生会退会,到底是一种怎么样的存在。 我认为, 既然如此, 每个人都不得不面对这些问题。 在面对这种问题时, 那么, 我认为, 学生会退会因何而发生。9

*fsdsd9*

## 引用

Expand All @@ -22,7 +24,7 @@ categories:
> 不告而别的你 就算为了我着想
> 这么沉痛的呵护 我怎么能翱翔
>
> *[最暖的憂傷 - 田馥甄](https://www.youtube.com/watch?v=3aypp_YlBzI)*
> *[最暖的憂傷 - 田馥asdasdasdasdfhajqw甄](https://www.youtube.com/watch?v=3aypp_YlBzI)*
## 图片

Expand Down
58 changes: 31 additions & 27 deletions hugo.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
baseurl: https://example.com/
languageCode: en-us
baseurl: https://chiloven945.github.io/
languageCode: zh-cn
theme: hugo-theme-stack
title: Example Site
copyright: Example Person
title: Chiloven945's Blog
copyright: Chiloven945

# Theme i18n support
# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
DefaultContentLanguage: en
DefaultContentLanguage: zh-cn

# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
# This will make .Summary and .WordCount behave correctly for CJK languages.
hasCJKLanguage: false
hasCJKLanguage: true

languages:
en:
languageName: English
title: Example Site
title: Chiloven's Blog
weight: 1
params:
sidebar:
subtitle: Example description
subtitle: 那是缅邈的熙來攘往,車與船于情亦感。
zh-cn:
languageName: 中文
title: 演示站点
title: Chiloven's Blog
weight: 2
params:
sidebar:
subtitle: 演示说明
subtitle: 那是缅邈的熙來攘往,車與船于情亦感。

services:
# Change it to your Disqus shortname before using
Expand All @@ -37,7 +37,7 @@ services:
id:

pagination:
pagerSize: 3
pagerSize: 5

permalinks:
post: /p/:slug/
Expand All @@ -55,19 +55,19 @@ params:
customText:

dateFormat:
published: Jan 02, 2006
lastUpdated: Jan 02, 2006 15:04 MST
published: 01/02/2006
lastUpdated: 01/02/2006 15:04 -07

sidebar:
emoji: 🍥
subtitle: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
emoji: 🐺
subtitle: 那是缅邈的熙來攘往,車與船于情亦感。
avatar:
enabled: true
local: true
src: img/avatar.png
src: avartar.jpg

article:
math: false
math: true
toc: true
readingTime: true
license:
Expand All @@ -76,7 +76,7 @@ params:

comments:
enabled: true
provider: disqus
provider: giscus

disqusjs:
shortname:
Expand Down Expand Up @@ -137,15 +137,18 @@ params:
siteName: "" # You must insert a unique identifier here matching the one you registered (See https://cactus.chat/docs/getting-started/quick-start/#register-your-site)

giscus:
repo:
repoID:
category:
categoryID:
mapping:
lightTheme:
darkTheme:
reactionsEnabled: 1
emitMetadata: 0
repo: Chiloven945/chiloven945.github.io
repo-id: R_kgDONM9U4w
category: Giscus
category-id: DIC_kwDONM9U484CkIdt
mapping: pathname
strict: 1
reactions-enabled: 1
emit-metadata: 1
input-position: top
theme: dark
lang: zh-CN
loading: lazy

gitalk:
owner:
Expand All @@ -171,6 +174,7 @@ params:
params:
limit: 10
page:
- type: search
- type: toc

opengraph:
Expand Down
59 changes: 59 additions & 0 deletions layouts/partials/footer/custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<style>
@font-face {
font-family: "HarmonyOS Sans SC";
src: url("fonts/HarmonyOSSansSC-Medium.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: "HarmonyOS Sans SC";
src: url("fonts/HarmonyOSSansSC-Medium-Italic.woff2") format("woff2");
font-weight: normal;
font-style: italic;
}

@font-face {
font-family: "HarmonyOS Sans SC";
src: url("fonts/HarmonyOSSansSC-Bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: "HarmonyOS Sans SC";
src: url("fonts/HarmonyOSSansSC-Bold-Italic.woff2") format("woff2");
font-weight: bold;
font-style: italic;
}

body {
font-family: "HarmonyOS Sans SC", sans-serif; /* 应用自定义字体,备选字体为sans-serif */
}

.background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('{{ (resources.Get "backgrounds/1730047334321.png").Permalink }}')
no-repeat center top;
background-size: cover;
z-index: -1;
filter: blur(3px);
}

.background::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.4); /* Adjust opacity here to change darkness */
z-index: -1;
}
</style>

<div class="background"></div>

0 comments on commit f9c5187

Please sign in to comment.