always use root page for shares

lektura
max.mehl 2017-09-04 19:21:24 +02:00
parent 6bbc36a637
commit 08aa8831d0
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@
<form action="/share" method="GET" class="share-buttons side" target="_blank">
<input name="popup" id="no-share-popup-side" type="radio" />
<input name="ref" value="pmpc-side" type="hidden" />
<input name="url" value="{{ .Site.Params.url }}{{ .RelPermalink }}" type="hidden" />
<input id="sharetitle-side" name="title" value="{{ with .Params.Title }}{{ . }} - {{ end }}{{ .Site.Title }}" type="hidden" />
<input name="url" value="{{ .Site.Params.url }}" type="hidden" />
<input id="sharetitle-side" name="title" value="{{ .Site.Params.spread.defaultSocialText }}" type="hidden" />
<input class="n" name="website" placeholder="Please do not put anything here" />
{{ range $data.share }}