%footer
  .block
    %p
      Copyright &copy; #{Time.now.year} Sacha Chua - 
      - if session
        - if mobile?
          = link_to I18n.t('app.layout.full'), params.merge(:layout => 'full')
        - else
          = link_to I18n.t('app.layout.mobile'), params.merge(:layout => 'mobile')
        \-
      = link_to "Privacy, terms, etc.", page_path("terms_privacy")    
      \-
      = feedback_link "Send feedback"
      \-
      = link_to 'Source', 'https://github.com/sachac/quantified'
      - if @account
        - if @account.settings.timezone
          \- Current timezone:
          = @account.settings.timezone
          = link_to '(Change?)', edit_user_path(@account)
        - else
          = link_to '(Set timezone)', edit_user_path(@account)
- if Rails.env.development?
  .alert.warning This is the development site.
- else
  .alert.warning This site is in beta. Please send me feedback if you run into anything that doesn't work or can be improved!
- flash.discard

%footer
  .block
    %p
      Copyright &copy; #{Time.now.year} Sacha Chua - 
      - if session
        - if mobile?
          = link_to I18n.t('app.layout.full'), params.merge(:layout => 'full')
        - else
          = link_to I18n.t('app.layout.mobile'), params.merge(:layout => 'mobile')
        \-
      = link_to "Privacy, terms, etc.", page_path("terms_privacy")    
      \-
      = link_to "Blog", "http://sachachua.com/blog/category/quantified"
      \-
      = feedback_link "Send feedback"
      \-
      = link_to 'Source', 'https://github.com/sachac/quantified'
      - if @account
        - if @account.settings.timezone
          \- Current timezone:
          = @account.settings.timezone
          = link_to '(Change?)', edit_user_path(@account)
        - else
          = link_to '(Set timezone)', edit_user_path(@account)
- if Rails.env.development?
  .alert.warning This is the development site.
- else
  .alert.warning This site is in beta. Please send me feedback if you run into anything that doesn't work or can be improved!
- flash.discard

Add blog link to footer
Add blog link to footer
