about summary refs log tree commit diff stats
path: root/app/views/layouts/application.html.haml
blob: 2a9e2ebad3ba74edbeeb234529a7fa4c68da6063 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
!!! 5
%html
  %head
    %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
      #sidebar
        .sidebar-module
          %h2 I'm Fef.
          %p I'm a computer science undergrad at Carnegie Mellon University. I make a lot of things, including Twitter bots. I really like Pokémon, and I write about it a lot.
        .sidebar-module
          %h2 Meta
          %ul
            - if not user_signed_in?
              %li= link_to "Log in", new_user_session_path
            - if user_signed_in?
              %li= link_to "Log out", destroy_user_session_path, method: :delete
      #main
        %header#banner= link_to "feffernoo.se", root_url
        #content= yield