In a large pan, mix lentils, rice, onion mixture, ketchup and hot sauce. Taste and season to your liking.
Transfer lentil mixture to baking dish of choice. Bake uncovered for 30 minutes. Check and see if the top of crunchy. Depending on the depth of your pan will determine the cooking time. I baked mine for 35 minutes but it could have baked for a bit longer for a crustier finish.
You can always top your loaf with ketchup, too.
Let cool for at least 15-20 minutes before slicing.