Skip to content

Commit e505866

Browse files
committed
add watermark
1 parent e646f82 commit e505866

File tree

4 files changed

+19
-71
lines changed

4 files changed

+19
-71
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
run: |
6161
sudo apt-get update
6262
sudo apt-get install -y imagemagick libheif-dev
63-
find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec convert {} -resize 1080x\> -quality 75 -define webp:image-hint=photo {}_1080x.webp \;
64-
find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec convert {} -resize 1080x\> {}_1080x.avif \;
63+
find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec convert {} -pointsize 48 -fill "#ffffff00" -font ./static/ArchitectsDaughter-Regular.ttf -gravity south -annotate +0+10 "@liudon\nhttps://liudon.com" -resize 1080x\> -quality 75 -define webp:image-hint=photo {}_1080x.webp \;
64+
find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec convert {} -pointsize 48 -fill "#ffffff00" -font ./static/ArchitectsDaughter-Regular.ttf -gravity south -annotate +0+10 "@liudon\nhttps://liudon.com" -resize 1080x\> {}_1080x.avif \;
6565
6666
- name: Setup Hugo
6767
uses: peaceiris/actions-hugo@v3

content/about.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ ShowToc: false
55
ShowBreadCrumbs: false
66
---
77

8-
大家好,欢迎访问我的博客
8+
大家好,欢迎来到我的博客
99

10-
#### 建站缘由
10+
## 建站缘由
1111

1212
大学期间,被人忽悠报了一个计算机培训班,误打误撞的进入了互联网行业。
1313

@@ -17,16 +17,27 @@ ShowBreadCrumbs: false
1717

1818
中间又申请了`liudon.xyz`域名,一直垂涎于`liudon.com`,终于在22年被我拿到手了,[十一年的等待](https://liudon.com/posts/%E5%8D%81%E4%B8%80%E5%B9%B4%E7%9A%84%E7%AD%89%E5%BE%85%E7%BB%88%E4%BA%8E%E6%8B%BF%E5%88%B0%E4%BA%86liudon.com%E5%9F%9F%E5%90%8D/)
1919

20-
本站使用`hugo`生成,存储在`Github`上,通过[Cloudflare Pages](https://liudon.com/posts/deploy-blog-to-cloudflare-pages/)[IPFS](https://liudon.com/posts/deploy-blog-to-ipfs/)部署访问
20+
本站使用`Hugo`生成,存储在`Github`上,同时部署在`Cloudflare Pages``IPFS`
2121

22+
[将博客部署到Cloudflare Pages](https://liudon.com/posts/deploy-blog-to-cloudflare-pages/)
2223

23-
#### 关于本人
24+
[将博客部署到星际文件系统(IPFS)](https://liudon.com/posts/deploy-blog-to-ipfs/)
25+
26+
## 内容版权
27+
28+
本博客(域名为liudon.com)的所有内容(包括但不限于文字、图片、音频、视频等),除特别注明外,均由Liudon创作或原创,版权归Liudon个人所有。
29+
30+
本博客采用 [CC BY-NC-SA 4.0协议](https://creativecommons.org/licenses/by-nc-sa/4.0/) 进行内容共享。
31+
32+
转载请注明作者及原文网址,商业转载请联系本人确认。
33+
34+
## 关于本人
2435

2536
喜欢做梦、已婚的80后男生。
2637

27-
如果您有意见或建议,欢迎您通过`[email protected]`联系我。
38+
如果您有意见或建议,您可以通过`[email protected]`联系我。
2839

29-
#### 朋友们
40+
## 朋友们
3041

3142
{{< friend name="Dvel’s Blog" url="https://dvel.me" logo="https://dvel.me/avatar.png" word="Less is More." >}}
3243

layouts/_default/single.html

Lines changed: 0 additions & 63 deletions
This file was deleted.
36.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)