mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 02:46:16 +01:00
chore(lib): update sharer.js 0.4.0 -> 0.5.1
This commit is contained in:
parent
5c8491b6b9
commit
2b21bdf584
9 changed files with 16 additions and 52 deletions
|
@ -83,7 +83,7 @@ I hope you will LoveIt ❤️!
|
||||||
* **Gravatar** supported by [Gravatar](https://gravatar.com)
|
* **Gravatar** supported by [Gravatar](https://gravatar.com)
|
||||||
* Local **Avatar** supported
|
* Local **Avatar** supported
|
||||||
* Up to **64** social links supported
|
* Up to **64** social links supported
|
||||||
* Up to **28** share sites supported
|
* Up to **24** share sites supported
|
||||||
* **Disqus** comment system supported by [Disqus](https://disqus.com)
|
* **Disqus** comment system supported by [Disqus](https://disqus.com)
|
||||||
* **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
|
* **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
|
||||||
* **Valine** comment system supported by [Valine](https://valine.js.org/)
|
* **Valine** comment system supported by [Valine](https://valine.js.org/)
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
* 支持 **[Gravatar](https://gravatar.com)** 头像
|
* 支持 **[Gravatar](https://gravatar.com)** 头像
|
||||||
* 支持本地**头像**
|
* 支持本地**头像**
|
||||||
* 支持多达 **64** 种社交链接
|
* 支持多达 **64** 种社交链接
|
||||||
* 支持多达 **28** 种网站分享
|
* 支持多达 **24** 种网站分享
|
||||||
* 支持 **[Disqus](https://disqus.com)** 评论系统
|
* 支持 **[Disqus](https://disqus.com)** 评论系统
|
||||||
* 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
|
* 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
|
||||||
* 支持 **[Valine](https://valine.js.org/)** 评论系统
|
* 支持 **[Valine](https://valine.js.org/)** 评论系统
|
||||||
|
|
|
@ -33,8 +33,8 @@ libFiles:
|
||||||
lightgalleryZoomJS: lg-zoom.js@1.2.0/dist/lg-zoom.min.js
|
lightgalleryZoomJS: lg-zoom.js@1.2.0/dist/lg-zoom.min.js
|
||||||
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
|
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
|
||||||
clipboardJS: clipboard@2.0.11/dist/clipboard.min.js
|
clipboardJS: clipboard@2.0.11/dist/clipboard.min.js
|
||||||
# sharer.js@0.4.0 https://github.com/ellisonleao/sharer.js
|
# sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
|
||||||
sharerJS: sharer.js@0.4.0/sharer.min.js
|
sharerJS: sharer.js@0.5.1/sharer.min.js
|
||||||
# typeit@7.0.4 https://github.com/alexmacarthur/typeit
|
# typeit@7.0.4 https://github.com/alexmacarthur/typeit
|
||||||
typeitJS: typeit@7.0.4/dist/typeit.min.js
|
typeitJS: typeit@7.0.4/dist/typeit.min.js
|
||||||
# katex@0.15.3 https://katex.org/
|
# katex@0.15.3 https://katex.org/
|
||||||
|
|
2
assets/lib/sharer/sharer.min.js
vendored
2
assets/lib/sharer/sharer.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -375,12 +375,8 @@
|
||||||
Line = true
|
Line = true
|
||||||
Instapaper = false
|
Instapaper = false
|
||||||
Pocket = false
|
Pocket = false
|
||||||
Digg = false
|
|
||||||
Stumbleupon = false
|
|
||||||
Flipboard = false
|
Flipboard = false
|
||||||
Weibo = true
|
Weibo = true
|
||||||
Renren = false
|
|
||||||
Myspace = false
|
|
||||||
Blogger = false
|
Blogger = false
|
||||||
Baidu = false
|
Baidu = false
|
||||||
Odnoklassniki = false
|
Odnoklassniki = false
|
||||||
|
|
|
@ -452,12 +452,8 @@ enableEmoji = true
|
||||||
Line = true
|
Line = true
|
||||||
Instapaper = false
|
Instapaper = false
|
||||||
Pocket = false
|
Pocket = false
|
||||||
Digg = false
|
|
||||||
Stumbleupon = false
|
|
||||||
Flipboard = false
|
Flipboard = false
|
||||||
Weibo = true
|
Weibo = true
|
||||||
Renren = false
|
|
||||||
Myspace = false
|
|
||||||
Blogger = false
|
Blogger = false
|
||||||
Baidu = false
|
Baidu = false
|
||||||
Odnoklassniki = false
|
Odnoklassniki = false
|
||||||
|
|
|
@ -50,7 +50,7 @@ math:
|
||||||
* :(far fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com)
|
* :(far fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com)
|
||||||
* :(fas fa-user-circle fa-fw): Local **Avatar** supported
|
* :(fas fa-user-circle fa-fw): Local **Avatar** supported
|
||||||
* :(far fa-id-card fa-fw): Up to **64** social links supported
|
* :(far fa-id-card fa-fw): Up to **64** social links supported
|
||||||
* :(fas fa-share-square fa-fw): Up to **28** share sites supported
|
* :(fas fa-share-square fa-fw): Up to **24** share sites supported
|
||||||
* :(far fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com)
|
* :(far fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com)
|
||||||
* :(far fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
|
* :(far fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
|
||||||
* :(far fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/)
|
* :(far fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/)
|
||||||
|
|
|
@ -50,7 +50,7 @@ math:
|
||||||
* :(far fa-user fa-fw): 支持 **[Gravatar](https://gravatar.com)** 头像
|
* :(far fa-user fa-fw): 支持 **[Gravatar](https://gravatar.com)** 头像
|
||||||
* :(fas fa-user-circle fa-fw): 支持本地**头像**
|
* :(fas fa-user-circle fa-fw): 支持本地**头像**
|
||||||
* :(far fa-id-card fa-fw): 支持多达 **64** 种社交链接
|
* :(far fa-id-card fa-fw): 支持多达 **64** 种社交链接
|
||||||
* :(fas fa-share-square fa-fw): 支持多达 **28** 种网站分享
|
* :(fas fa-share-square fa-fw): 支持多达 **24** 种网站分享
|
||||||
* :(far fa-comment fa-fw): 支持 **[Disqus](https://disqus.com)** 评论系统
|
* :(far fa-comment fa-fw): 支持 **[Disqus](https://disqus.com)** 评论系统
|
||||||
* :(far fa-comment-dots fa-fw): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
|
* :(far fa-comment-dots fa-fw): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
|
||||||
* :(far fa-comment-alt fa-fw): 支持 **[Valine](https://valine.js.org/)** 评论系统
|
* :(far fa-comment-alt fa-fw): 支持 **[Valine](https://valine.js.org/)** 评论系统
|
||||||
|
|
|
@ -106,91 +106,63 @@
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- /* 016: Digg */ -}}
|
{{- /* 016: Flipboard */ -}}
|
||||||
{{- if $share.Digg -}}
|
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Digg" data-sharer="digg" data-url="{{ .Permalink }}">
|
|
||||||
{{- dict "Class" "fab fa-digg fa-fw" | partial "plugin/icon.html" -}}
|
|
||||||
</a>
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- /* 017: StumbleUpon */ -}}
|
|
||||||
{{- if $share.Stumbleupon -}}
|
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} StumbleUpon" data-sharer="stumbleupon" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
|
||||||
{{- dict "Class" "fab fa-stumbleupon fa-fw" | partial "plugin/icon.html" -}}
|
|
||||||
</a>
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- /* 018: Flipboard */ -}}
|
|
||||||
{{- if $share.Flipboard -}}
|
{{- if $share.Flipboard -}}
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Flipboard" data-sharer="flipboard" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
<a href="javascript:void(0);" title="{{ T `shareOn` }} Flipboard" data-sharer="flipboard" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||||
{{- dict "Class" "fab fa-flipboard fa-fw" | partial "plugin/icon.html" -}}
|
{{- dict "Class" "fab fa-flipboard fa-fw" | partial "plugin/icon.html" -}}
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- /* 019: 微博 */ -}}
|
{{- /* 017: 微博 */ -}}
|
||||||
{{- if $share.Weibo -}}
|
{{- if $share.Weibo -}}
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} 微博" data-sharer="weibo" data-url="{{ .Permalink }}" data-title="{{ .Title }}"{{ with .Params.featuredImage }} data-image="{{ . }}"{{ end }}{{ with .Site.Params.Social.Weibo }} data-ralateuid="{{ . }}"{{ end }}>
|
<a href="javascript:void(0);" title="{{ T `shareOn` }} 微博" data-sharer="weibo" data-url="{{ .Permalink }}" data-title="{{ .Title }}"{{ with .Params.featuredImage }} data-image="{{ . }}"{{ end }}{{ with .Site.Params.Social.Weibo }} data-ralateuid="{{ . }}"{{ end }}>
|
||||||
{{- dict "Class" "fab fa-weibo fa-fw" | partial "plugin/icon.html" -}}
|
{{- dict "Class" "fab fa-weibo fa-fw" | partial "plugin/icon.html" -}}
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- /* 020: 人人 */ -}}
|
{{- /* 018: Blogger */ -}}
|
||||||
{{- if $share.Renren -}}
|
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} 人人" data-sharer="renren" data-url="{{ .Permalink }}">
|
|
||||||
{{- dict "Class" "fab fa-renren fa-fw" | partial "plugin/icon.html" -}}
|
|
||||||
</a>
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- /* 021: Myspace */ -}}
|
|
||||||
{{- if $share.Myspace -}}
|
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Myspace" data-sharer="myspace" data-url="{{ .Permalink }}" data-title="{{ .Title }}" data-description="{{ .Description }}">
|
|
||||||
{{- dict "Simpleicons" "myspace" "Prefix" (.Scratch.Get "cdn" | default dict).simpleIconsPrefix | partial "plugin/icon.html" -}}
|
|
||||||
</a>
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- /* 022: Blogger */ -}}
|
|
||||||
{{- if $share.Blogger -}}
|
{{- if $share.Blogger -}}
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Blogger" data-sharer="blogger" data-url="{{ .Permalink }}" data-title="{{ .Title }}" data-description="{{ .Description }}">
|
<a href="javascript:void(0);" title="{{ T `shareOn` }} Blogger" data-sharer="blogger" data-url="{{ .Permalink }}" data-title="{{ .Title }}" data-description="{{ .Description }}">
|
||||||
{{- dict "Class" "fab fa-blogger fa-fw" | partial "plugin/icon.html" -}}
|
{{- dict "Class" "fab fa-blogger fa-fw" | partial "plugin/icon.html" -}}
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- /* 023: 百度 */ -}}
|
{{- /* 019: 百度 */ -}}
|
||||||
{{- if $share.Baidu -}}
|
{{- if $share.Baidu -}}
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} 百度" data-sharer="baidu" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
<a href="javascript:void(0);" title="{{ T `shareOn` }} 百度" data-sharer="baidu" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||||
{{- dict "Simpleicons" "baidu" "Prefix" (.Scratch.Get "cdn" | default dict).simpleIconsPrefix | partial "plugin/icon.html" -}}
|
{{- dict "Simpleicons" "baidu" "Prefix" (.Scratch.Get "cdn" | default dict).simpleIconsPrefix | partial "plugin/icon.html" -}}
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- /* 024: OK.RU */ -}}
|
{{- /* 020: OK.RU */ -}}
|
||||||
{{- if $share.Odnoklassniki -}}
|
{{- if $share.Odnoklassniki -}}
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} OK.RU" data-sharer="okru" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
<a href="javascript:void(0);" title="{{ T `shareOn` }} OK.RU" data-sharer="okru" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||||
{{- dict "Class" "fab fa-odnoklassniki fa-fw" | partial "plugin/icon.html" -}}
|
{{- dict "Class" "fab fa-odnoklassniki fa-fw" | partial "plugin/icon.html" -}}
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- /* 025: Evernote */ -}}
|
{{- /* 021: Evernote */ -}}
|
||||||
{{- if $share.Evernote -}}
|
{{- if $share.Evernote -}}
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Evernote" data-sharer="evernote" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
<a href="javascript:void(0);" title="{{ T `shareOn` }} Evernote" data-sharer="evernote" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||||
{{- dict "Class" "fab fa-evernote fa-fw" | partial "plugin/icon.html" -}}
|
{{- dict "Class" "fab fa-evernote fa-fw" | partial "plugin/icon.html" -}}
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- /* 026: Skype */ -}}
|
{{- /* 022: Skype */ -}}
|
||||||
{{- if $share.Skype -}}
|
{{- if $share.Skype -}}
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Skype" data-sharer="skype" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
<a href="javascript:void(0);" title="{{ T `shareOn` }} Skype" data-sharer="skype" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||||
{{- dict "Class" "fab fa-skype fa-fw" | partial "plugin/icon.html" -}}
|
{{- dict "Class" "fab fa-skype fa-fw" | partial "plugin/icon.html" -}}
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- /* 027: Trello */ -}}
|
{{- /* 023: Trello */ -}}
|
||||||
{{- if $share.Trello -}}
|
{{- if $share.Trello -}}
|
||||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Trello" data-sharer="trello" data-url="{{ .Permalink }}" data-title="{{ .Title }}" data-description="{{ .Description }}">
|
<a href="javascript:void(0);" title="{{ T `shareOn` }} Trello" data-sharer="trello" data-url="{{ .Permalink }}" data-title="{{ .Title }}" data-description="{{ .Description }}">
|
||||||
{{- dict "Class" "fab fa-trello fa-fw" | partial "plugin/icon.html" -}}
|
{{- dict "Class" "fab fa-trello fa-fw" | partial "plugin/icon.html" -}}
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- /* 028: Mix */ -}}
|
{{- /* 024: Mix */ -}}
|
||||||
{{- if $share.Mix -}}
|
{{- if $share.Mix -}}
|
||||||
<a href="//mix.com/add?url={{ .Permalink }}&description={{ .Title }}" target="_blank" title="{{ T `shareOn` }} Mix">
|
<a href="//mix.com/add?url={{ .Permalink }}&description={{ .Title }}" target="_blank" title="{{ T `shareOn` }} Mix">
|
||||||
{{- dict "Class" "fab fa-mix fa-fw" | partial "plugin/icon.html" -}}
|
{{- dict "Class" "fab fa-mix fa-fw" | partial "plugin/icon.html" -}}
|
||||||
|
|
Loading…
Reference in a new issue