2017-03-20 20:23:38 +01:00
|
|
|
{{ "<!-- SHARE COLUMN -->" | safeHTML }}
|
2017-03-20 18:40:55 +01:00
|
|
|
{{ $data := index .Site.Data .Site.Language.Lang }}
|
2017-05-25 21:55:34 +02:00
|
|
|
<div class="sharecolumn">
|
2017-05-25 22:35:52 +02:00
|
|
|
|
2017-06-22 12:28:23 +02:00
|
|
|
<form action="/share" method="GET" class="share-buttons side" target="_blank">
|
2017-05-25 23:36:54 +02:00
|
|
|
<input name="popup" id="no-share-popup-side" type="radio" />
|
|
|
|
<input name="ref" value="pmpc-side" type="hidden" />
|
2017-08-29 22:50:07 +02:00
|
|
|
<input name="url" value="{{ .Site.Params.url }}{{ .RelPermalink }}" type="hidden" />
|
|
|
|
<input name="title" value="{{ with .Params.Title }}{{ . }} - {{ end }}{{ .Site.Title }}" type="hidden" />
|
|
|
|
<input class="n" name="website" placeholder="Please do not put anything here" />
|
2017-05-25 21:55:34 +02:00
|
|
|
|
2017-05-25 22:35:52 +02:00
|
|
|
{{ range $data.share }}
|
|
|
|
{{ if eq .userinput true }}
|
2017-05-25 23:36:54 +02:00
|
|
|
<label class="button share-{{ .id }}" title="{{ .titleBefore}} {{ .name }} {{ .titleAfter }}" for="{{ .id }}-share-side"> </label>
|
|
|
|
<input name="popup" id="{{ .id }}-share-side" type="radio" />
|
2017-05-25 22:35:52 +02:00
|
|
|
<span class="popup {{ .id }}">
|
2017-05-25 23:36:54 +02:00
|
|
|
<label for="no-share-popup-side"></label>
|
2017-05-25 22:35:52 +02:00
|
|
|
<input name="{{ .id }}pod" value="" placeholder="{{ .name }} URL ({{ .id }}.tld)" type="text" />
|
|
|
|
<button type="submit" name="service" value="{{ .id }}">OK</button>
|
|
|
|
</span>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2017-05-25 21:55:34 +02:00
|
|
|
|
2017-05-25 22:35:52 +02:00
|
|
|
{{ range $data.share }}
|
|
|
|
{{ if ne .userinput true }}
|
|
|
|
<button type="submit" name="service" value="{{ .id }}" class="button share-{{ .id }}" title="{{ .titleBefore}} {{ .name }} {{ .titleAfter }}"> </button>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2017-05-25 21:55:34 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|