From 1408a52c3d249d28011bd262061f9cc05c0b686b Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 26 Jun 2014 11:11:53 -0700 Subject: change format of html title --- amber/layouts/default.html.haml | 2 +- amber/locales/en.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'amber') diff --git a/amber/layouts/default.html.haml b/amber/layouts/default.html.haml index cdf57e8..6650f00 100644 --- a/amber/layouts/default.html.haml +++ b/amber/layouts/default.html.haml @@ -2,7 +2,7 @@ %html{:lang => I18n.locale} %head %title - = @page.nav_title + ' - ' + @site.title + = [(@page.nav_title unless @page.path.empty?), I18n.t('site_title')].compact.join(' - ') %meta(name="viewport" content="width=device-width, initial-scale=1.0")/ %link(rel="stylesheet" href="/assets/bootstrap.min.css")/ %link(rel="stylesheet" href="/assets/font-awesome/css/font-awesome.min.css")/ diff --git a/amber/locales/en.yml b/amber/locales/en.yml index 657f60e..3aa2cc7 100644 --- a/amber/locales/en.yml +++ b/amber/locales/en.yml @@ -1,3 +1,4 @@ en: Downloads: Downloads - Download: Download \ No newline at end of file + Download: Download + site_title: Bitmask Downloads -- cgit v1.2.3