mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 18:12:45 +08:00
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.
5 lines
277 B
Text
5 lines
277 B
Text
<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>
|