idiotbox-go

youtube web application in Go
git clone git://git.codemadness.org/idiotbox-go
Log | Files | Refs | README | LICENSE

commit f4852b33db90f788f0d1330ffe30707aa610c328
parent d753e1781a998d8f2782a90986306c7c89cf6130
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  6 Oct 2017 13:33:57 +0200

template: search: don't show description in title

this is barely used (by me) but adds lots of data.

Diffstat:
data/templates/pages/search.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/templates/pages/search.html b/data/templates/pages/search.html @@ -49,7 +49,7 @@ <a href="https://www.youtube.com/watch?v={{.Id}}"><img src="{{.Snippet.Thumbnails.Default.Url}}" alt="" height="90" /></a> {{end}} </td> - <td title="{{.Snippet.Description}}"> + <td> <span class="title"><a href="https://www.youtube.com/watch?v={{.Id}}" accesskey="{{$i}}">{{.Snippet.Title}}</a></span><br/> <span class="channel" title="{{.Snippet.Channeltitle}} RSS/Atom feed"><a href="https://www.youtube.com/feeds/videos.xml?channel_id={{.Snippet.Channelid}}">{{.Snippet.Channeltitle}}</a></span><br/> <span class="publishedat" title="{{.Snippet.Publishedat}}">Published: {{Friendlytime .Snippet.Publishedat}}</span><br/>