1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-26 18:18:51 +01:00

Add MathJax to seeds.rb, update locales

This commit is contained in:
2017-11-28 11:43:11 +01:00
parent 93b0cad73d
commit 913d9ec0b7
7 changed files with 34 additions and 217 deletions

View File

@@ -20,7 +20,7 @@ module ApplicationHelper
# Returns the full title on a per-page basis.
def full_title(page_title = '')
base_title = t('site_title')
base_title = t('application.site_title')
if page_title.empty?
base_title
else

View File

@@ -1,6 +1,6 @@
<%= navbar position: :static do %>
<%= vertical do %>
<%= link_to t(:site_title), root_path %>
<%= link_to t('application.site_title'), root_path %>
<% end %>
<%= horizontal do %>
<%= nav class: 'navbar-left' do %>