 //import Foundation
 //
 
-public struct Provider: Vapor.Provider {
+public struct Provider<P: BlogPresenter>: Vapor.Provider {
 
     public static var repositoryName: String {
         return "steampress"

                useBootstrap4: Bool = true,
                enableAuthorPages: Bool = true,
                enableTagPages: Bool = true,
                blogPresenter: BlogPresenter? = nil) {
//        self.postsPerPage = postsPerPage
//        self.databaseIdentifier = databaseIdentifier
        self.blogPath = blogPath
        self.feedInformation = feedInformation

        self.pathCreator = BlogPathCreator(blogPath: self.blogPath)
        #warning("Default to sensible one")
        self.blogPresenter = blogPresenter!
        self.enableAuthorPages = enableAuthorPages
        self.enableTagPages = enableTagPages



    let blogPath: String?
    let pathCreator: BlogPathCreator
    let blogPresenter: P
    let feedInformation: FeedInformation
    let enableAuthorPages: Bool
    let enableTagPages: Bool
