Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
Added customize aside title and subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Aug 15, 2015
1 parent 8eba3af commit 4755ace
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions assets/js/src/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion partials/aside.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{#if @blog.logo}}
<a id="avatar-link" title="link to homepage for {{@blog.title}}" href="{{@blog.url}}/#open">
<img src="{{@blog.logo}}" alt="{{@blog.title}} avatar" class="profile avatar rounded hvr-buzz-out" />
<h1>{{@blog.title}}</h1>
<h1 id="profile-title">{{@blog.title}}</h1>
<h3 id="profile-resume"></h3>
</a>
{{/if}}
Expand Down

0 comments on commit 4755ace

Please sign in to comment.