Enabling Bootstrap for Kitura is straightforward. Kitura serves all static web pages using the middleware StaticFileServer. In the postInit() function of the app, add the following line after router.setDefault(templateEngine:) in /Sources/Application/Application.swift:
router.get("/", middleware: StaticFileServer())
The static file server will look for all the resources under the folder called /public. Take note that while this folder, in a Vapor project, is capitalized as /Public, the folder name is a Kitura project and is not capitalized.
Create it at the top directory of myJournal and create /css and /img subdirectories under /pubic.
You can proceed to copy custom.css and pier.png to /public/css and /public/img, respectively.