public
Description: Starter Kit for developers using Ruby on Rails to quickly get a blog up & running and then add features.
Homepage: http://www.faithfulgeek.org
Clone URL: git://github.com/faithfulgeek/blog-starter-kit.git
Joe Fiorini (author)
Sun Apr 20 21:20:47 -0700 2008
commit  3ee7a2b008ecbd9a634c01d84bc9d38814f29fd9
tree    ba295e7010103e38eb5182041925b3469c3fc60c
parent  3be627078ced4ff1017e33fab2db2266f0b5c7ed
blog-starter-kit / app / views / layouts / application.html.haml
100644 58 lines (57 sloc) 1.823 kb
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
!!! strict
%html{ :lang => "en" }
  %head
    %meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }/
    %title
      faithfulgeek.org
    %meta{ :name => "author", :content => "Joe Fiorini" }/
    %link{ :href => "/stylesheets/reset.css", :rel => "stylesheet", :type => "text/css" }/
    %link{ :href => "/stylesheets/site.css", :rel => "stylesheet", :type => "text/css" }/
    - if @extra_stylesheet
      %link{ :href => "/stylesheets/#{@extra_stylesheet}", :rel => "stylesheet", :type => "text/css" }
    / Date: 2008-03-07
  %body
    #header
      - if @current_user
        #welcome_message
          = "Logged in as: " + @current_user.name
          = link_to 'Logout', logout_url
      %img{ :src => "/images/glasses.png" }/
      %h1#page-title
        %a{ :href => "/" }
          faithfulgeek.org
    #main
      #wrapper
        #page-content
          = yield
      #modules
        .twitter.module
          %fieldset
            %legend
              twitter
            %p
              I just twittered all over the place
            %p
              I wish skittles were M&Ms
            %p
              You have walked the lonely walk of loneliness
        .blogroll.module
          %fieldset
            %legend
              blogroll
            %p
              %a{ :href => "http://www.codinggeekette.com/", :rel => "met" }
                coding geekette
            %p
              %a{ :href => "http://www.hanselman.com/", :rel => "met" }
                scott hanselman
            %p
              %a{ :href => "http://www.coreyhaines.com/", :rel => "met" }
                corey haines
        .tagcloud.module
          %fieldset
            %legend
              tag cloud
            tags
      #footer
        ©2008 Joe Fiorini - creative commons license