     template = Agent.get Global, &(Map.get &1, "template_page")
     info = Agent.get Global, &(Map.get &1, :pageinfo)
 
-    IO.puts "Cleaning pages..."
-
-    dest
-    |> File.ls!
-    |> Enum.filter(&(String.ends_with? &1, ".html"))
-    |> Enum.each(&(File.rm_rf! "#{dest}#{&1}"))
-
     case mode do
       :parallel ->
         info

            |> Enum.filter(&(String.ends_with? &1, ".md"))
            |> Enum.map(&(String.replace &1, ~r/\.md$/, ""))
            |> Enum.sort
    IO.puts "Cleaning directory `#{dstdir}`..."
    File.rm_rf! dstdir
    File.mkdir_p! dstdir

    Enum.each launch_post(mode, files, srcdir, dstdir, template_post), &Task.await&1


      File.mkdir_p! "#{dest}"
      IO.puts "Created directory `#{dest}`."

      dest |> File.ls!
           |> Enum.map(&("#{dest}#{&1}"))
           |> Enum.each(&(File.rm_rf! &1))

      {time, _} = :timer.tc(fn ->
        compile_nav
