Algolia: Article

{
  hasResults: 3,
  indexName: "nyla_articles",
  list: [
    {
      category: "fashion",
      excerpt: "Get the latest fashion news and trends from around the world.",
      id: "ghi789",
      isFolderHomePage: false,
      isHomePage: false,
      seoDescription: "Get the latest fashion news and trends from around the world.",
      slug: {
        current: "/blogs/style/fall-fashion-trends",
      },
      title: "Fall Fashion Trends",
    },
    {
      category: "recipes",
      id: "def456",
      isFolderHomePage: false,
      isHomePage: false,
      seoDescription: "Discover delicious and healthy recipes for every meal.",
      slug: {
        current: "/blogs/food/healthy-breakfast-ideas",
      },
      title: "Healthy Breakfast Ideas",
    },
    {
      category: "news",
      id: "abc123",
      isFolderHomePage: false,
      isHomePage: false,
      seoDescription: "Stay up-to-date with the latest news from around the world.",
      slug: {
        current: "/blogs/news/breaking-news",
      },
      title: "Breaking News",
    },
  ],
  pagination: {
    amountOfPages: 64,
    hasNextPage: true,
    hasPreviousPage: false,
    page: 1,
    pageSize: 3,
    totalElements: 192,
  },
  searchTerm: "news",
}

Properties

number

The number of Algolia search results

string

The index name

array

The list of Algolia articles

object

Returns a pagination object.

string

The search term