Paste number 125225: template

Paste number 125225: template
Pasted by: docgnome
When:7 months, 6 days ago
Share:Tweet this! | http://paste.lisp.org/+2OMH
Channel:#chicken
Paste contents:
Raw Source | XML | Display As
(page-template 
 (lambda (content . rest) 
	 (dk-template content (dk-nav))))

(define-page (main-page-path)
  (lambda ()
		(<p>  "hello world!")
    ))

(define (dk-template body nav) 
	(<html> 
	 (<head> 
		(<style> "p { color:#00ffbb } p.left { float:left; } .content { margin-left: 100px } .container { width:100% }"))
	 (<body> 
		(<div> id: "container"
					 (<p> id: "left" nav) 
					 (<div> id: "content" body)))))

(define (dk-nav)
	 (<ul>
		(<li> (link "http://duckduckgo.com" "ddg"))
		))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.