mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 00:03:56 +08:00
5fc1586abf
Checking if the topic exists happened often and that can cause performance issues.
37 lines
1.4 KiB
Plaintext
37 lines
1.4 KiB
Plaintext
<footer class="container wrap">
|
|
<nav class='crawler-nav'>
|
|
<ul>
|
|
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
|
<span itemprop='name'>
|
|
<a href='<%= path "/" %>' itemprop="url"><%= t 'home_title' %> </a>
|
|
</span>
|
|
</li>
|
|
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
|
<span itemprop='name'>
|
|
<a href='<%= path "/categories" %>' itemprop="url"><%= t 'js.filters.categories.title' %> </a>
|
|
</span>
|
|
</li>
|
|
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
|
<span itemprop='name'>
|
|
<a href='<%= path "/guidelines" %>' itemprop="url"><%= t 'guidelines_topic.title' %> </a>
|
|
</span>
|
|
</li>
|
|
<% if tos_url.present? %>
|
|
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
|
<span itemprop='name'>
|
|
<a href='<%= tos_url %>' itemprop="url"><%= t 'tos_topic.title' %> </a>
|
|
</span>
|
|
</li>
|
|
<% end %>
|
|
<% if privacy_policy_url.present? %>
|
|
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
|
<span itemprop='name'>
|
|
<a href='<%= privacy_policy_url %>' itemprop="url"><%= t 'privacy_topic.title' %> </a>
|
|
</span>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
</nav>
|
|
<p class='powered-by-link'><%= t 'powered_by_html' %></p>
|
|
</footer>
|