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(key) ⇒ Object



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

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


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

def self.navigation
  NAVIGATION
end