Skip to content

Commit 4211356

Browse files
committed
Add SteamLink At Page Footer.
1 parent 7df2fa9 commit 4211356

File tree

8 files changed

+17
-5
lines changed

8 files changed

+17
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616

1717
## 注意
1818

19-
当前版本基于 Halo 1.3.2 , 并且仅适用于此版本,后续是否更新暂定。如有需要请自行 Fork 更改。有看不懂的地方可提交 Issues 或是发送邮件到 [[email protected]](mailto:[email protected])
19+
当前版本基于 Halo 1.3.2 ,适用于此版本,后续是否更新暂定。如有需要请自行 Fork 更改。有看不懂的地方可提交 Issues 或是发送邮件到 [[email protected]](mailto:[email protected])

assets/dist/index.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/dist/index.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/less/index.less

-1
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,6 @@ footer {
869869
margin: 0 1rem;
870870
padding: 0.5rem;
871871

872-
border: 1px solid #dddddd;
873872
border-radius: 50%;
874873

875874
transition: background-color, box-shadow 300ms ease-in-out;

module/footer.ftl

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
<#include "icon/rss.ftl">
3434
</a>
3535
</#if>
36+
<#if settings.steam??>
37+
<a href="${settings.steam!}" class="circle" target="_blank" rel="noopener" title="RSS">
38+
<#include "icon/steam.ftl">
39+
</a>
40+
</#if>
3641
</div>
3742

3843
<div class="badge">

module/icon/steam.ftl

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2+
<path d="M 11.979281,0 C 5.664375,0 0.49125,4.8607266 0,11.037444 l 6.442875,2.659247 a 3.357375,3.3212307 0 0 1 1.9149375,-0.590387 c 0.063937,0 0.127125,0.0018 0.189375,0.0052 L 11.41275,8.9650599 v -0.058056 c 0,-2.4950036 2.033438,-4.5253761 4.533094,-4.5253761 2.499562,0 4.533,2.0303725 4.533,4.5253761 0,2.4949111 -2.033438,4.5261181 -4.533,4.5261181 -0.03469,0 -0.06844,-8.34e-4 -0.102938,-0.0017 l -4.086844,2.909926 c 0.0026,0.05398 0.0043,0.107857 0.0043,0.160905 0,1.873733 -1.526531,3.397649 -3.4025625,3.397649 -1.6468125,0 -3.0246563,-1.173912 -3.336,-2.72769 L 0.4134245,15.270131 C 1.8405938,20.307157 6.4765312,24 11.979281,24 18.618469,24 24,18.626788 24,12 24,5.3724699 18.618469,0 11.979281,0 Z M 7.533,18.207971 6.0565313,17.59885 c 0.2612812,0.54411 0.7144687,0.999281 1.3155937,1.249218 1.2990938,0.540678 2.797125,-0.07447 3.338625,-1.37247 a 2.5832812,2.5554705 0 0 0 0.0043,-1.950801 C 10.45555,14.895087 9.9651433,14.403932 9.336362,14.142125 8.7110495,13.882915 8.0415808,13.892282 7.4533933,14.113932 l 1.5257812,0.629709 C 9.937487,15.142427 10.390675,16.24094 9.991112,17.197561 9.5924063,18.154089 8.4913125,18.606756 7.533,18.207971 Z M 18.966469,8.9070042 c 0,-1.6623774 -1.355344,-3.0159282 -3.020344,-3.0159282 -1.665844,0 -3.021188,1.3535508 -3.021188,3.0159282 0,1.6624698 1.355344,3.0151868 3.021188,3.0151868 1.665,0 3.020344,-1.352717 3.020344,-3.0151868 z m -5.284688,-0.0051 c 0,-1.2508868 1.01625,-2.2647284 2.26875,-2.2647284 1.25325,0 2.2695,1.0138416 2.2695,2.2647284 0,1.2508868 -1.01625,2.2648218 -2.269594,2.2648218 -1.252406,0 -2.26875,-1.013935 -2.26875,-2.2647291 z"/>
3+
</svg>

settings.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,8 @@ sns:
118118
label: QQ
119119
type: text
120120
placeholder: '只需填入 QQ 号即可'
121+
steam:
122+
name: steam
123+
label: Steam
124+
type: text
125+
placeholder: '需填入 Steam 用户完整地址'

theme.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ description: 「Limit」少即是多
77
logo: //cn.gravatar.com/avatar/a0a99550658c1738878835894e3cee41?s=256&d=mm
88
website: https://github.com/losgod/halo-theme-limit.git
99
repo: https://github.com/losgod/halo-theme-limit.git
10-
version: 0.9.6
10+
version: 1.0.0
1111
require: 1.3.0

0 commit comments

Comments
 (0)