Before we start plugging gems in and taking user input, let's get a bit of framework up. This includes a basic page layout the beginnings of an index page. The code presented in this article is completely without CSS styling and layout, as well as images as this is beyond the scope of this article.
In all, this is nothing you haven't seen before if you've read the previous article on Using Haml with Sinatra.
get '/' do
%title Network Tools
%h1 Network Tools
Welcome to Network Tools. Below is a list
of the tools available.