Commit 0578eea0 authored by Jamie Tanna's avatar Jamie Tanna

Merge branch 'defect/always-syndication' into 'fork'

Don't always syndicate all our posts

See merge request !39
parents b27cec6a 62cbb88c
......@@ -55,15 +55,22 @@
<div class="p-description">{{ .Content }}</div>
{{ end }}
<p>This post may be syndicated to these sites:</p>
{{ if .Params.syndication }}
<div id="syndication-targets">
<p>This post will be syndicated to these sites:</p>
<ul>
{{ range .Params.syndication }}
<li>
<a href="{{ .url }}" class="u-syndication">
{{ .text }}
</a>
</li>
{{ end }}
</ul>
</div>
{{ end }}
<ul class="syndication-targets">
<li>
<a href="https://news.indieweb.org/en" class="u-syndication">
IndieNews
</a>
</li>
</ul>
</div>
{{ partial "webmention.html" . }}
......
......@@ -61,15 +61,21 @@
</ul>
{{ end }}
<p>This post may be syndicated to these sites:</p>
{{ if .Params.syndication }}
<div id="syndication-targets">
<p>This post will be syndicated to these sites:</p>
<ul class="syndication-targets">
<li>
<a href="https://news.indieweb.org/en" class="u-syndication">
IndieNews
</a>
</li>
</ul>
<ul>
{{ range .Params.syndication }}
<li>
<a href="{{ .url }}" class="u-syndication">
{{ .text }}
</a>
</li>
{{ end }}
</ul>
</div>
{{ end }}
{{ partial "webmention.html" . }}
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment