-
Notifications
You must be signed in to change notification settings - Fork 1
Tutorial (Linux)
SplittyDev edited this page Oct 20, 2014
·
2 revisions
#Using owl
owl is currently in an early development stage, so we don't really recommend using it.
But if you want to use it anyway, here is how you do it.
##The basics
Let's create an example file, which we'll be using in this little tutorial.
touch index.owl
Now, open the file in your favorite text editor and paste the following text into it:
head {
title { "My awesome owl page" }
meta (author = "Your name here");
}
document {
h1 { "Hello, World!" }
p { "Hello from owl :)" }
}
Nice! Let's compile our fancy example!
mono owl.exe -i index.owl
If you did everything right, owl will create the page "index.html" for you, which should look like that:
<!DOCTYPE html>
<html>
<head>
<title>My awesome owl page</title>
<meta author="Your name here">
</head>
<body>
<h1>Hello, World!</h1>
<p>Hello from owl :)</p>
</body>
</html>
Nice! You successfully created your first owl website :)