add github and bilibili

This commit is contained in:
FarseaSH 2021-08-06 18:29:10 +08:00
parent e7a9351f7e
commit 6cea660c2d
2 changed files with 9 additions and 0 deletions

View file

@ -4,6 +4,15 @@
{{ $logo_file = "wechat.png"}}
{{ end }}
{{ if eq 1 (len (findRE `(https?://)?(www\.)?bilibili\.com/video/([-a-zA-Z0-9()@:%\+.~#?&/=_]*)` .a)) }}
{{ $logo_file = "bilibili.png"}}
{{ end }}
{{ if eq 1 (len (findRE `(https?://)?(www\.)?github\.com([-a-zA-Z0-9()@:%\+.~#?&/=_]*)` .a)) }}
{{ $logo_file = "github.png"}}
{{ end }}
<!-- todo add zhihu -->
<div class="share-link-block">
<table class="link-table">

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB