blob: 8cd06b0f64c7d8a63723eb074f0ece7857d72e1e (
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
28
29
|
!!! 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
#sidebar
.sidebar-module
%h2 I'm Fef.
%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
.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 "Admin", admin_url
%li= link_to "Log out", destroy_user_session_path, method: :delete
#main
%header#banner= link_to "feffernoo.se", root_url
#content= yield
|