Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

0.0.8

Compare
Choose a tag to compare
@micheltlutz micheltlutz released this 06 Apr 20:02
· 8 commits to develop since this release
f800d1f
  • Doctype
let doctype = Doctype()
doctype.getString() // or doctype.generate()
  • Body
let body = Body()
body.add(/* Any Element*/)
  • Head
let head = Head()
head.add(/* Any Element*/)
  • Html
let html = Html()
html.add(/* Any Element*/)
  • LinkStylesheet
let linkCssTag = LinkStylesheet("/styles/milligram.min.css")
  • Link
let linkTag = Link("/styles/milligram.min.css", attributes: ("rel", "stylesheet"))
  • Meta
let meta = Meta(("charset", "utf-8")))
  • Script
let script = Script()
script.add("var myJsVar = 1")

let script = Script(("src","myScript.js"))
  • Title
let pageTitle = Title("This is Page.")
  • Footer
let footer = Footer()
footer.add(/* Any Element*/)
  • Header
let header = Header()
header.add(/* Any Element*/)