Skip to content
Permalink
Browse files

Visual fixes

  • Loading branch information...
Depado committed Apr 6, 2018
1 parent 6c75bf3 commit 53d9ec6c1014ac7e7043ced3c3e883e40c02d335
Showing with 6 additions and 3 deletions.
  1. +3 −0 assets/style.css
  2. +3 −3 templates/share.tmpl
@@ -41,6 +41,9 @@ a {
a:hover {
color: #444;
}
a:active,a:link{
outline: 0px none;
}
.md a {
color: #07a;
}
@@ -1,11 +1,11 @@
{{ define "share" }}
{{ if .Author }}
{{ if .Author.Twitter }}
<a target="_blank" href='http://twitter.com/share?text="{{ .Title }}" by @{{ .Author.Twitter }}'><span class="btn twitter"><i class="fab fa-twitter"></i> Tweet</span></a>
<a target="_blank" href='//twitter.com/share?text="{{ .Title }}" by @{{ .Author.Twitter }}'><span class="btn twitter"><i class="fab fa-twitter"></i> Tweet</span></a>
{{ else }}
<a target="_blank" href='http://twitter.com/share?text="{{ .Title }}" by {{ .Author.Name }}'><span class="btn twitter"><i class="fab fa-twitter"></i> Tweet</span></a>
<a target="_blank" href='//twitter.com/share?text="{{ .Title }}" by {{ .Author.Name }}'><span class="btn twitter"><i class="fab fa-twitter"></i> Tweet</span></a>
{{ end }}
{{ else }}
<a target="_blank" href='http://twitter.com/share?text="{{ .Title }}"'><span class="btn twitter"><i class="fab fa-twitter"></i> Tweet</span></a>
<a target="_blank" href='//twitter.com/share?text="{{ .Title }}"'><span class="btn twitter"><i class="fab fa-twitter"></i> Tweet</span></a>
{{ end }}
{{ end }}

0 comments on commit 53d9ec6

Please sign in to comment.
You can’t perform that action at this time.