From 4755ace9581019ac9e2b260889296d4420b49e61 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sat, 15 Aug 2015 17:34:54 +0200 Subject: [PATCH] Added customize aside title and subtitle --- assets/js/src/main.coffee | 3 +++ partials/aside.hbs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/js/src/main.coffee b/assets/js/src/main.coffee index 8b5f4896..8c60941d 100644 --- a/assets/js/src/main.coffee +++ b/assets/js/src/main.coffee @@ -11,6 +11,9 @@ $ -> Uno.readTime() FastClick.attach el unless Uno.is 'device', 'desktop' + $('#profile-title').text window.profile_title if window.profile_title + $('#profile-resume').text window.profile_resume if window.profile_resume + if Uno.is 'device', 'desktop' $(document.links).filter -> @hostname != window.location.hostname diff --git a/partials/aside.hbs b/partials/aside.hbs index 59a314c0..e27c26a1 100755 --- a/partials/aside.hbs +++ b/partials/aside.hbs @@ -5,7 +5,7 @@ {{#if @blog.logo}} {{@blog.title}} avatar -

{{@blog.title}}

+

{{@blog.title}}

{{/if}}