mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 23:19:25 +08:00

This PR adds a theme modifier and route so that custom themes can opt to show their own homepage. See PR description for example usage.
9 lines
209 B
Plaintext
9 lines
209 B
Plaintext
<ul>
|
|
<% anonymous_top_menu_items.each_with_index do |item, index| %>
|
|
<li>
|
|
<a href='<%= Discourse.base_url %>/<%= item %>'>
|
|
<%= I18n.t("js.filters.#{item}.title") %>
|
|
</a>
|
|
</li>
|
|
<% end %>
|
|
</ul> |