DatoCMS offers a Ruby-based CLI tool that makes it extremely convenient to transform the content stored in your DatoCMS project into Jekyll posts and collections:
# Add "dato" gem to your Gemfile, run "bundle install"...# gem "dato"# then inside your Jekyll project run:# dato dump --token=YOUR_DATOCMS_PROJECT_API_TOKEN# inside a "_posts" directory...directory "_posts" do# ...iterate over the "Blog post" records...dato.blog_posts.each do |article|# ...and create a markdown file for each article!create_post "#{article.slug}.md" dofrontmatter(:yaml,title: article.title,)content(article.content)endendend
DatoCMS offers best-in-class image processing and image CDN. Optimize, resize, crop, rotate and watermark images on-the-fly simply adding custom parameters to the URL of your image. Serve lazy loaded, responsive images in one line of code.
Delight your customers with lightning fast responses. DatoCMS offers a coordinated suite of different APIs and tools to work seamlessly with the three fundamental blocks of content: text, images and video. Everything is built on CDN, optimized for speed and scalability.
Give your editors the power of building custom landing pages with no code intervention. Define reusable custom blocks of content, map them to Jekyll includes and you're good to go.
Learn from our best-practice project. Fully configured and deployed on Netlify or Vercel. Source included.