Module: Markita::HTML

Defined in:
lib/markita/html.rb

Class Method Summary collapse

Class Method Details



18
19
20
21
22
23
# File 'lib/markita/html.rb', line 18

def self.footer
  <<~FOOTER
    </body>
    </html>
  FOOTER
end

.header(title) ⇒ Object



3
4
5
6
7
8
9
10
11
12
# File 'lib/markita/html.rb', line 3

def self.header(title)
  <<~HEADER
    <!DOCTYPE html>
    <html>
    <head>
    <title>#{title}</title>#{HEADER_LINKS}
    </head>
    <body>
  HEADER
end


14
15
16
# File 'lib/markita/html.rb', line 14

def self.navigation
  NAVIGATION
end