.page-header
  %nav.navbar.navbar-default
    .container-fluid
      .navbar-header
        .navbar-brand
          = link_to editor_root_url do
            = image_tag current_site.logo_image_url.presence || current_site.logo_url, height: 24
            Editor for
          %span.dropdown
            %a#change-site.dropdown-toggle(href='#' role="button" data-toggle='dropdown' aria-expanded='false')
              %b= current_site.name
              %span.caret

            %ul.dropdown-menu(aria-labelledby='change-site')
              - current_user.sites.each do |site|
                %li= link_to site.name, editor_root_url(host: site.fqdn)

      %ul.nav.navbar-nav.navbar-right
        = active_link_to 'カテゴリ', editor_categories_url, wrap_tag: 'li'
        = active_link_to '記事',     editor_posts_url,      wrap_tag: 'li'
        = active_link_to '固定ページ', editor_fixed_pages_url, wrap_tag: 'li'
        = active_link_to 'リンク', editor_links_url, wrap_tag: 'li'

        %li
          = link_to 'ログアウト', destroy_user_session_url, method: :delete

.page-header
  %nav.navbar.navbar-default
    .container-fluid
      .navbar-header
        .navbar-brand
          = link_to editor_root_url do
            = image_tag current_site.logo_image_url.presence || current_site.logo_url, height: 24
            Editor for
          %span.dropdown
            %a#change-site.dropdown-toggle(href='#' role="button" data-toggle='dropdown' aria-expanded='false')
              %b= current_site.name
              %span.caret

            %ul.dropdown-menu(aria-labelledby='change-site')
              - current_user.sites.each do |site|
                %li= link_to site.name, editor_root_url(host: site.fqdn)

      %ul.nav.navbar-nav.navbar-right
        = active_link_to 'カテゴリ', editor_categories_url, wrap_tag: 'li'
        = active_link_to '記事',     editor_posts_url,      wrap_tag: 'li'
        = active_link_to '著者情報', editor_authors_url, wrap_tag: 'li'
        = active_link_to '固定ページ', editor_fixed_pages_url, wrap_tag: 'li'
        = active_link_to 'リンク', editor_links_url, wrap_tag: 'li'

        %li
          = link_to 'ログアウト', destroy_user_session_url, method: :delete

Add link to author index on navigation
Add link to author index on navigation
