1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Merge pull request #86 from benjaminmisell/master

Add twitter share icon
This commit is contained in:
Zack 2017-10-12 13:53:14 -06:00 committed by GitHub
commit 912bf83c59
3 changed files with 29460 additions and 1126 deletions

30584
bindata.go

File diff suppressed because one or more lines are too long

BIN
dist/cowyo_linux_amd64 vendored Executable file

Binary file not shown.

View File

@ -494,7 +494,7 @@ body#pad textarea {
<div id="wrap">
{{ if .EditPage }} <div id="pad"><textarea autofocus placeholder="Start typing, it will save automatically.
<a href="https://twitter.com/share" class="twitter-share-button" data-show-count="false">Tweet</a><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
Use Markdown for formatting and links (also make links like [[this]])." id="userInput">{{ .RawPage }}</textarea></div>{{ end }}
<div id="rendered">
{{ if .DontKnowPage }} <strong><center>{{ .Route }} not understood!</center></strong>{{ end }}