!!! 5
%html
%head
%title= content_for?(:title) ? "Thoughts - #{yield(:title)}" : "Thoughts"
= csrf_meta_tags
= stylesheet_link_tag 'main', media: 'all', 'data-turbolinks-track': 'reload'
= javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
%body#main-body
- if flash[:alert]
%div#flash.flash-alert= flash[:alert]
- if flash[:notice]
%div#flash.flash-notice= flash[:notice]
#container
#page-header
%header#banner
%h1= link_to "Four Island", root_url
#page-body
#sidebar
.sidebar-module
%blockquote.pimped.bubble.rounded.bottom
%h2 I'm Hatkirby.
%p Coding is what I do. I make a lot of things, including Twitter bots. I really like Pokémon, and I write about it a lot.
%p B.S. in CS, Carnegie Mellon 2017
%cite.bubble
Hatkirby on Four Island
.sidebar-module
.bubble.rounded
%h2 Meta
%ul
- if not user_signed_in?
%li= link_to "Log in", new_user_session_path
- if user_signed_in?
%li= link_to "Admin", admin_url
%li= link_to "Log out", destroy_user_session_path, method: :delete
#main
#content= yield