Pack Documentation
Search
⌃
K
Welcome to the Pack!
Guides
Getting started
Creating your first Storefront
Previewing your Storefront
Editing your Storefront
Start developing
Fundamentals
Organization
Storefronts
Customizer
For Merchants
Creating Organizations
Creating Storefronts
Deploys
Product Bundles
Product Groupings
Inviting Teammates
Redirects
Editing Storefront Settings
For Marketers
Creating Pages
Sections
Publishing/Unpublishing
Managing Media
For Developers
Storefront Hooks
Settings Hooks
Page Hooks
Product Hooks
Collection Hooks
Blog Hooks
Article Hooks
Section API
Creating Storefront Settings
Shopify Hooks
Asynchronous Hooks
Pack API
Transform Specification
Adding Tailwind CSS
Powered By
GitBook
Blog Hooks
useBlog()
When you are on a
/blogs
template, any section, component, and or its children will have access to the page's data using the
useBlog()
hook. That way, you do not have to drill this data down the props from the template.
Previous
Collection Hooks
Next
Article Hooks
Last modified
1yr ago