Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
getRootR=defaultLayout$dosetTitle"My Page Title"toWidget[lucius|h1{color:green;}|]addScriptRemote"https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"toWidget[julius|$(function(){$("h1").click(function(){alert("You clicked on the heading!");});});|]toWidgetHead[hamlet|<metaname=keywordscontent="some sample keywords">|]toWidget[hamlet|<h1>Here'sonewayofincludingcontent|][whamlet|<h2>Here'sanother|]toWidgetBody[julius|alert("This is included in the body itself");|]
This produces the following HTML (indentation added):
<!DOCTYPE html>
<html>
<head>
<title>My Page Title</title>
<style>h1 { color : green }</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script>
$(function() {
$("h1").click(function(){ alert("You clicked on the heading!"); });
});
</script>
<meta name="keywords" content="some sample keywords">
</head>
<body>
<h1>Here's one way of including content </h1>
<h2>Here's another </h2>
<script> alert("This is included in the body itself"); </script>
</body>
</html>