浏览代码

Replace another 2 .URL occurrences with .Permalink (#275)

* Replace another 2 .URL occurrences with .Permalink

This is basically a completion of #216

* Revert site-navigation URL change
tags/2.6.0
Sandro Santilli 4 年前
父节点
当前提交
2d6a91d48a
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      layouts/partials/social-share.html

+ 2
- 2
layouts/partials/social-share.html 查看文件

@@ -1,5 +1,5 @@
{{ $title := .Title }}
{{ $url := printf "%s" .URL | absLangURL }}
{{ $url := printf "%s" .Permalink | absLangURL }}
{{ $icon_size := "32px" }}

{{ if not .Params.disable_share }}
@@ -23,4 +23,4 @@
{{ partialCached "svg/linkedin.svg" (dict "size" $icon_size) $icon_size }}
</a>
</div>
{{ end }}
{{ end }}

正在加载...
取消
保存