Skip to content

Commit 661b8aa

Browse files
GSBPGSBP
authored andcommitted
“update”
1 parent a22bf10 commit 661b8aa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1448
-18
lines changed

.DS_Store

2 KB
Binary file not shown.

content/.DS_Store

6 KB
Binary file not shown.

content/about.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
+++
2+
date = '2025-01-17T19:38:41+08:00'
3+
draft = false
4+
title = 'About Me'
5+
layout='about'
6+
7+
+++
8+
9+
一名大二在读学生
10+
11+
Syclover & 0XFFF 成员
12+
13+
对各种安全感兴趣,目前主要学习的还的是Web安全(Java 安全、云安全等)
14+
15+
最爱吃,最喜欢吃的是🍉,最喜欢干的事情就是大夏天抱着半个西瓜拿勺子挖着吃然后看视频
16+
17+
会打点小游戏(其实从小学之前就开始打游戏了hh
18+
19+
20+
21+
**什么都想学,但什么都不会**
22+
23+
# Contact Me
24+
25+
Email:gsbp6279@gmail.com
26+
27+
GitHub:https://github.com/GSBP0/:

content/friend.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
+++
2+
date = '2025-01-18T01:22:01+08:00'
3+
draft = false
4+
title = '友链'
5+
layout = "friends"
6+
+++
7+
8+
{{< friend name="1231" url="1231" logo="http://127.0.0.1:1313/img/GSBP.jpg" word="456" >}}
9+
{{< friend name="友链名称2" url="友链地址2" logo="友链图片链接2" word="友链描述2" >}}
10+

content/post/test.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
+++
2+
3+
date = '2025-01-17T19:38:41+08:00'
4+
draft = false
5+
title = 'Test'
6+
author='GSBP'
7+
8+
+++
9+

hugo.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ title = "GSBP's Blog"
66
[params]
77
author = "GSBP"
88
description = "A CTFER && JavaSecurity Researcher"
9-
authorImage = "resources/image/GSBP.jpg"
9+
authorImage = "/img/GSBP.jpg"
1010
paginate = 5
1111
Title = "GSBP's Blog"
1212
content = "Interesting in CyberSecurity"
13-
imageUrl = "/images/avatar.jpg"
13+
imageUrl = "/img/GSBP.jpg"
1414

1515
# To add a new social icon
1616
# More social icons can be found in JuiceBar\layouts\partials\svg.html.
@@ -38,7 +38,9 @@ url = "/post"
3838
[[menu.main]]
3939
name = "Categories"
4040
url = "/categories"
41-
41+
[[menu.main]]
42+
name = "Friends"
43+
url = "/friend"
4244
# If using the giscus commenting system
4345
#[params.giscus]
4446
#repo = "ENTER REPO HERE"

index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

layouts/shortcodes/friend.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{ if .IsNamedParams }}
2+
{{- $src := .Get "logo" -}}
3+
{{- $small := .Get "logo_small" | default $src -}}
4+
{{- $large := .Get "logo_large" | default $src -}}
5+
<div class="friend-div">
6+
<a target="_blank" href={{ .Get "url" | safeURL }} title={{ .Get "name" }} >
7+
<img src={{ $src | safeURL }}
8+
alt={{ .Get "name" }}
9+
data-sizes="auto"
10+
data-srcset="{{ $small | safeURL }}, {{ $src | safeURL }} 1.5x, {{ $large | safeURL }} 2x" />
11+
<span class="friend-name">{{ .Get "name" }}</span>
12+
<span class="friend-info">{{ .Get "word" }}</span>
13+
</a>
14+
</div>
15+
{{ end }}
16+

public/.DS_Store

6 KB
Binary file not shown.

public/404.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="canonical" href="http://localhost:1313/404.html" />
1111
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.4/css/bulma.min.css">
1212

13-
<link rel="stylesheet" href="http://localhost:1313/scss/style.min.aa7209164f013c6883aa54384ea45a46e582eacf9a17e9565badebd557dd1059.css">
13+
<link rel="stylesheet" href="http://localhost:1313/scss/style.min.badf012c7f163854e3d9c3287a1df0863ae1974f62e123bbf1f2948b58ed39cf.css">
1414

1515
<meta property="og:url" content="http://localhost:1313/404.html">
1616
<meta property="og:site_name" content="GSBP&#39;s Blog">
@@ -57,6 +57,8 @@ <h1>GSBP&#39;s Blog</h1>
5757

5858
<a href="/categories" class="navbar-item">Categories</a>
5959

60+
<a href="/friend" class="navbar-item">Friends</a>
61+
6062
</div>
6163

6264
</div>

0 commit comments

Comments
 (0)