add github and bilibili
This commit is contained in:
parent
e7a9351f7e
commit
6cea660c2d
2 changed files with 9 additions and 0 deletions
|
@ -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">
|
||||
|
|
BIN
static/link-logos/github.png
Normal file
BIN
static/link-logos/github.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Loading…
Add table
Reference in a new issue