You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: main.go
    path of file: ./repos/iris/_examples/view/template_blocks_2
    
    the code of the file until where you have to start completion: package main

import "github.com/kataras/iris/v12"

// Based on https://github.com/kata
    
func initApp() *iris.Application {
	app := iris.New()
	app.Logger().SetLevel("debug")

	tmpl := iris.Blocks("./src/public/html", ".html")
	tmpl.Layout("main")
	app.RegisterView(tmpl)

	app.Get("/list", func(ctx iris.Context) {
		ctx.View("files/list")
	})

	app.Get("/menu", func(ctx iris.Context) {
		ctx.View("menu/menu")
	})

	app.Get("/list2", func(ctx iris.Context) {
		ctx.ViewLayout("secondary")
		ctx.View("files/list")
	})

	app.Get("/menu2", func(ctx iris.Context) {
		ctx.ViewLayout("secondary")
		ctx.View("menu/menu")
	})

	return app
}