text-search/src/main/java/ai/vespa/example/text_search/site/view/HomeRenderer.java
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

package ai.vespa.example.text_search.site.view;

import com.fasterxml.jackson.databind.JsonNode;
import java.util.Map;

public class HomeRenderer {

    public static SimpleTemplate render(Map<String, JsonNode> data, Map<String, String> properties) {
        SimpleTemplate template = new SimpleTemplate("home.html.template");
        template.set("page-title", "Home");
        return template;
    }

}
