Skip to content

Instantly share code, notes, and snippets.

call pathogen#infect()
:syntax on
:set ruler
:set autoindent
:set nu
:set softtabstop=2
:set tabstop=2
:set shiftwidth=2
:set expandtab
:set completeopt=longest,menuone
#mainnav.hidden-phone.hidden-tablet
%ul
- @nav_links.each do |link|
%li{ :class => (controller_name == link[:name]) ? "active" : nil }
- if controller_name == link[:name]
%span{ :class => "current-arrow" }
%a{:href => link[:path]}
.icon
%span.fs1{"aria-hidden" => "true", "data-icon" => link[:icon]}
= link[:show_name]