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

Add twitter share icon

This commit is contained in:
Benjamin Misell 2017-10-12 20:29:48 +01:00
parent bef20f3366
commit ecba3aa0ea
3 changed files with 29460 additions and 1126 deletions

30576
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"> <div id="wrap">
{{ if .EditPage }} <div id="pad"><textarea autofocus placeholder="Start typing, it will save automatically. {{ 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 }} Use Markdown for formatting and links (also make links like [[this]])." id="userInput">{{ .RawPage }}</textarea></div>{{ end }}
<div id="rendered"> <div id="rendered">
{{ if .DontKnowPage }} <strong><center>{{ .Route }} not understood!</center></strong>{{ end }} {{ if .DontKnowPage }} <strong><center>{{ .Route }} not understood!</center></strong>{{ end }}