Sha256: c670f3c01536380b09f569290609da571b56993cbfff952a599d6b0d60785020

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

%li{class: current_class?(settings_site_path(@site))}
  = link_to(settings_site_path(@site)) do
    Settings
    %i.glyphicon.glyphicon-cog
    - if current_page?(settings_site_path(@site))
      %span.sr-only (current)
%li{class: current_class?(site_template_path(@site))}
  = link_to(site_template_path(@site)) do
    Template
    - if current_page?(site_template_path(@site))
      %span.sr-only (current)
%li{class: current_class?(site_path(@site))}
  = link_to build_and_preview_site_path(@site) do
    Preview
    %i.glyphicon.glyphicon-eye-open
    - if current_page?(site_path(@site))
      %span.sr-only (current)
%li{class: current_class?(site_posts_path(@site))}
  = link_to site_posts_path(@site) do
    Posts
    - if current_page?(site_posts_path(@site))
      %span.sr-only (current)
%li{class: current_class?(new_site_post_path(@site))}
  = link_to(new_site_post_path(@site)) do
    New Post
    %i.glyphicon.glyphicon-plus
    - if current_page?(new_site_post_path(@site))
      %span.sr-only (current)
%li{class: current_class?(site_media_path(@site))}
  = link_to(site_media_path(@site)) do
    Media
    - if current_page?(site_media_path(@site))
      %span.sr-only (current)
%li{class: current_class?(site_deployments_path(@site))}
  = link_to(site_deployments_path(@site)) do
    Deploy
    - if current_page?(site_deployments_path(@site))
      %span.sr-only (current)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
statixite-1.0.2 app/views/layouts/statixite/_site_sub_items.html.haml
statixite-1.0.1 app/views/layouts/statixite/_site_sub_items.html.haml
statixite-1.0.0 app/views/layouts/statixite/_site_sub_items.html.haml