private OfflineRenderer renderHeader() { return render(HEADER_TEMPLATE).from(WebRoot.layouts()); }
private OfflineRenderer renderOrderPage() { return render(ORDER_TEMPLATE).from(WebRoot.pages()); }
private OfflineRenderer renderItemsPage() { return render(ITEMS_TEMPLATE) .with("items", itemAvailable) .and("in-stock", !itemAvailable.isEmpty()) .from(WebRoot.pages()); }