summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/views/watch.ecr5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/views/watch.ecr b/src/views/watch.ecr
index 46d38c41..6766ddfa 100644
--- a/src/views/watch.ecr
+++ b/src/views/watch.ecr
@@ -32,7 +32,7 @@
<p>Allowed ads : <br><%= video.info.has_key?("allowed_ads") ? video.info["allowed_ads"] : "Unmonetized" %></p>
</div>
<div class="pure-u-1 pure-u-md-3-5">
- <p><%= video.info["author"] %></p>
+ <p><a class="link" href="https://youtube.com/channel/<%= video.info["ucid"] %>"><%= video.info["author"] %></a></p>
<p><%= description %></p>
</div>
<div class="pure-u-1 pure-u-md-1-5">
@@ -40,8 +40,5 @@
<a class="link" href="/watch?v=<%= video.id %>"><p><%= video.info["title"] %></p></a>
<% end %>
</div>
-</div> <a class="link" href="/watch?v=<%= video.id %>"><p><%= video.info["title"] %></p></a>
- <% end %>
- </div>
</div>
</div> \ No newline at end of file