Browse Source

Make explicit config switch for Twitter DM link

master
Adrian Short 3 years ago
parent
commit
35a5d55473
Signed by: adrian GPG Key ID: 4B54F9AE91AB06BB
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      layouts/_default/single.html

+ 2
- 0
layouts/_default/single.html View File

@@ -11,5 +11,7 @@
</div>
{{ .Content }}
</article>
{{ if .Site.Params.ShowTwitterDMLink }}
<p id=feedback>Your polite comments are welcome. <a href="https://twitter.com/messages/compose?recipient_id={{ .Site.Params.AuthorTwitterID }}&text={{ .Title }}:%20">Send me a private message on Twitter.</a></p>
{{ end }}
{{ end }}

Loading…
Cancel
Save