Skip to content

Astro Content Layer loader for the Hive blockchain

License

Notifications You must be signed in to change notification settings

instytutfi/hive-astro-loader

Repository files navigation

NPM Version codecov GitHub Issues or Pull Requests Follow on Hive GitHub License

Hive Astro Loader

Astro Content Layer loader for the Hive blockchain

Installation

npm install @onhive.io/astro-loader

Or use our favorite package manager.

Usage

Hive Blog Loader

In your Astro project, edit the /src/content/config.ts:

import { defineCollection } from "astro:content";
import { hiveBlogLoader } from "@onhive.io/astro-loader";

export const collections = {
  blog: defineCollection({
    type: "content_layer",
    loader: hiveBlogLoader("hive.coding") // Selected username
  })
};

For now only hiveBlogLoader is available, more coming soon!

Contributing

See CONTRIBUTING.md for more information.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

Astro Content Layer loader for the Hive blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published