Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Stratton <matt.stratton@gmail.com>2019-12-01 19:28:52 +0300
committerGitHub <noreply@github.com>2019-12-01 19:28:52 +0300
commit81d1122c339ae89fafd6e495edf4626402dc50de (patch)
tree12ab51a4f53f80b8c1cc4e1c4fe0abde6d2fcaa8 /layouts
parent93cd9ca1cfe78916f6efcbb8b2b7b4bab2727134 (diff)
Fix twitter url in share button (#239)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer_scripts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html
index df3fd34..5df9aa6 100644
--- a/layouts/partials/footer_scripts.html
+++ b/layouts/partials/footer_scripts.html
@@ -14,7 +14,7 @@
{{ if (isset .Site.Params.social "twitter" )}}
via: "{{ .Site.Params.social.twitter }}", // custom twitter sharing param 'via' (optional)
{{ end }}
- url: "{{ .Params.permalink }}",
+ url: "{{ .Permalink }}",
text: "{{ title .Title }}"
},
{