An Integration to bring your Hashnode Headless Blog content into Astro!
Install the integration automatically using the Astro CLI:
pnpm astro add @matthiesenxyz/astro-hashnodenpx astro add @matthiesenxyz/astro-hashnodeyarn astro add @matthiesenxyz/astro-hashnodeOr install it manually:
- Install the required dependencies
pnpm add @matthiesenxyz/astro-hashnodenpm install @matthiesenxyz/astro-hashnodeyarn add @matthiesenxyz/astro-hashnode- Add the integration to your astro config
+import astroHashnode from "@matthiesenxyz/astro-hashnode";
export default defineConfig({
integrations: [
+ astroHashnode({
+ hashnodeURL: 'astroplayground.hashnode.dev'
}),
],
});astroHashnode({
hashnodeURL: 'astroplayground.hashnode.dev', // Your hashnode URL
landingPage: true, // Lets you disable the default landing page!
useViewTransitions: true, // Lets you enable/disable the default included ViewTransitions.
layoutComponent: './src/layouts/YourLayout.astro' // Lets you change the default Layout.astro being used by the Integration Pages.
verbose: false // Change to Verbose console output
})Node: This Integration uses the new Tailwind v4 There is no config options in this version of tailwindCSS, and applyBaseStyles is enabled! So if you are building your own LayoutComponent feel free to use TailwindCSS!
MIT Licensed. Made with ❤️ by Adam M..
astro-integration-kitby FlorianHashnode - HeadlessCMSby the HashnodeTailwindCSS v4by the TailwindCSS teamAstro-Fontby RishiAstro-SEOby JonasAstro-Remoteby Nate