mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
f44ec18fd2
This change eliminates a couple of instances where subfolder urls are badly formatted, in most cases we can use Discourse.base_url_no_prefix to prevent adding the subfolder to the base url.
6 lines
277 B
Plaintext
6 lines
277 B
Plaintext
<li>
|
|
<a href='<%= Discourse.base_url_no_prefix + topic.relative_url %>' style='color: #<%= @anchor_color %>'><%= raw format_topic_title(topic.title) %></a>
|
|
<span><%= post_count %></span>
|
|
<%= category_badge(topic.category, inline_style: true, absolute_url: true) %>
|
|
</li>
|