mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:23:43 +08:00
1eb70973a2
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> |