Skip to content

Commit

Permalink
feat: add regist info
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgramCX committed Dec 12, 2024
1 parent 5e2761b commit 097b1ba
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 20 deletions.
44 changes: 25 additions & 19 deletions content/page/links/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@
title: 链接
links:
- title: GitHub
description: GitHub is the world's largest software development platform.
description: GitHub是世界上最大的代码托管平台,超7千万开发者正在使用。
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
- title: FlowD
description: FlowD 是一款高效的跨平台多线程下载器
website: https://pinsoftstd.cn

- title: Vue.js
description: Vue.js 是一个用于创建用户界面的开源MVVM前端JavaScript框架,也是一个创建单页应用的Web应用框架。
website: https://cn.vuejs.org

menu:
main:
weight: -50
Expand All @@ -18,20 +22,22 @@ menu:
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
```
- 网站名称:(必填)
- 网站介绍:(选填)
- 网站地址:(必填)
- logo地址:(必填)

格式示例:

`image` field accepts both local and external images.
> 网站名称:程旭的一天
>
> 网站介绍:人定胜天,而我逆天
>
> 网站地址:blog.pinsoftstd.cn
>
> logo地址:blog.pinsoftstd.cn/favicon.ico
7 changes: 6 additions & 1 deletion themes/hugo-theme-stack/layouts/partials/footer/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@
{{- $Generator := `<a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a>` -}}
{{- $Theme := printf `<b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="%s">Stack</a></b>` $ThemeVersion -}}
{{- $DesignedBy := `<a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>` -}}

{{ T "footer.builtWith" (dict "Generator" $Generator) | safeHTML }} <br />
{{ T "footer.designedBy" (dict "Theme" $Theme "DesignedBy" $DesignedBy) | safeHTML }}

<div style="margin-top: 10px;">
<a href="https://beian.miit.gov.cn/" target="_blank">皖ICP备2024067408号-1</a>
</div>
<span id="regist"><img src="https://blog.pinsoftstd.cn/regist.png" height="13px" style="margin-right: 5px;vertical-align:middle"/><a href="https://beian.mps.gov.cn/#/query/webSearch?code=34118102000926" rel="noreferrer" target="_blank">皖公网安备34118102000926</a></span>
</section>
</footer>

0 comments on commit 097b1ba

Please sign in to comment.