Skip to content

Commit

Permalink
feat: add envs webring
Browse files Browse the repository at this point in the history
  • Loading branch information
GrassBlock1 committed Dec 15, 2024
1 parent 0816d5d commit ea9d388
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
4 changes: 3 additions & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ date = 2024-03-27T17:57:05+08:00
- Email: i[at]gb0[.]dev grassblock[at]envs[dot]net (backup)

# 特别感谢
[![Deployed on Zeabur](https://zeabur.com/deployed-on-zeabur-dark.svg)](https://zeabur.com?referralCode=GrassBlock1&utm_source=GrassBlock1&utm_campaign=oss)
[![Deployed on Zeabur](https://zeabur.com/deployed-on-zeabur-dark.svg)](https://zeabur.com?referralCode=GrassBlock1&utm_source=GrassBlock1&utm_campaign=oss)

{{< webring >}}
4 changes: 3 additions & 1 deletion content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ WIP,but here for some links:

Special Thx:

[![Deployed on Zeabur](https://zeabur.com/deployed-on-zeabur-dark.svg)](https://zeabur.com?referralCode=GrassBlock1&utm_source=GrassBlock1&utm_campaign=oss)
[![Deployed on Zeabur](https://zeabur.com/deployed-on-zeabur-dark.svg)](https://zeabur.com?referralCode=GrassBlock1&utm_source=GrassBlock1&utm_campaign=oss)

{{< webring >}}
3 changes: 3 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ disableKinds = ['rss']
name = "GrassBlock" # Your name as shown in the RSS feed metadata
email = "[email protected]" # Added to the footer so readers can reply to posts

[params.webring]
username = "grassblock"



[menus]
Expand Down
10 changes: 10 additions & 0 deletions layouts/shortcodes/webring.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!-- envs.net ring fragment-->
<div id="newring">
<div style="text-align: center;">
[<a href="https://envs.net/ring/?action=prev&me={{ .Site.Params.webring.username }}">previous</a>]
[<a href="https://envs.net/ring/?action=random&me={{ .Site.Params.webring.username }}">random</a>]
[<a href="https://envs.net/ring/?action=next&me={{ .Site.Params.webring.username }}">next</a>]
<br>
powered by <a href="https://envs.net/ring/"> envs webring</a>
</div>
</div>

0 comments on commit ea9d388

Please sign in to comment.