🏗️ Finish post share widget coding.
This commit is contained in:
parent
ebe60171af
commit
7a1e4b85bb
@ -12,7 +12,7 @@
|
||||
height: 0px;
|
||||
background-image: none;
|
||||
border-bottom: .125em dashed #999;
|
||||
margin: 24px 0;
|
||||
margin: 24px 0 12px 0;
|
||||
|
||||
&:after{
|
||||
content: $post_end_line_tip;
|
||||
|
@ -62,6 +62,7 @@ kbd {
|
||||
font-family: inherit;
|
||||
padding: .1em .3em;
|
||||
white-space: nowrap;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
// `highlight.line_number: false` and `highlight.wrap: false`
|
||||
|
@ -737,7 +737,7 @@ params:
|
||||
|
||||
# AddThis Share. See: https://www.addthis.com
|
||||
# Go to https://www.addthis.com/dashboard to customize your tools.
|
||||
add_this_id:
|
||||
addThisId:
|
||||
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
|
@ -187,7 +187,7 @@ X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||
|
||||
按<kbd>X</kbd>获胜。或按<kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>F</kbd></kbd>显示 FPS 计数器。
|
||||
|
||||
<mark>比特作为信息论中的信息单位,也被称为 shannon <mark>,以信息论领域的创始人 Claude shannon 的名字命名。
|
||||
<mark>比特作为信息论中的信息单位,也被称为 shannon </mark>,以信息论领域的创始人 Claude shannon 的名字命名。
|
||||
|
||||
参考:
|
||||
- 来自 **Mainroad** 主题的 [Basic Elements](https://mainroad-demo.netlify.app/post/basic-elements/) 内容
|
||||
|
5
layouts/partials/_thirdparty/share/addthis.html
vendored
Normal file
5
layouts/partials/_thirdparty/share/addthis.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{{- with .Site.Params.addThisId }}
|
||||
<div class="addthis_inline_share_toolbox" style="text-align: center;">
|
||||
<script src="//s7.addthis.com/js/300/addthis_widget.js#pubid={{ . }}" async="async"></script>
|
||||
</div>
|
||||
{{- end }}
|
@ -10,6 +10,7 @@
|
||||
<div class="post-eof"></div>
|
||||
{{- else }}
|
||||
{{ partial "post/post_footer/tags.html" . }}
|
||||
{{ partial "_thirdparty/share/addthis.html" . }}
|
||||
<hr/>
|
||||
{{ partial "post/post_footer/reward.html" . }}
|
||||
{{ partial "post/post_footer/copyright.html" . }}
|
||||
|
Loading…
Reference in New Issue
Block a user