Articles About Statamic

Are you looking to find out about how others are using Statamic in their projects? You've come to the right place...we're aggregating all the best Statamic content in one place.

  1. Setup Statamic using DDEV

    Matthias Andrasch Posted on December 21, 2022

    In this little series I try to setup a nice and clean deployment workflow for the PHP CMS Statamic

  2. Installing a Private Starter Kit in Statamic

    Alexander Stoffel Posted on December 06, 2022

    Statamic Starter Kits are great, but you might not always want to make them public. Here is how to install one from a private repository.

  3. Implementing Astro live previews in headless Statamic

    Maciek Palmowski Posted on October 23, 2022

    Using Astro with different headless CMSs is excellent and relatively easy to achieve. The only problem is dealing with the live previews.

    This article shows how to solve this problem.

  4. Render a selection or the most recent post with Antlers

    Rob de Kort Posted on July 15, 2022

    When working with collections like a portfolio or a blog you often want to list one or more posts on the homepage. My friend Philip Thygesen tipped me to use an entries field for this where the you can select an entry. If you don't select one it should fall back to the most recent entry in the collection. In this post I'll explain a quick and easy Antlers technique I started using a while back for incorporating this in my sites.

  5. Storing Files in Hetzner Volumes with Laravel and Statamic

    Alexander Stoffel Posted on July 03, 2022

    A quick tutorial on how to create Hetzner volumes and use them as massive filesystems in Laravel and Statamic projects.

  6. A rendered code example with Statamic, Tailwind and Alpine

    Rob de Kort Posted on June 14, 2022

    For recent journal entries about SVG clipping masks and animating clipping masks I wanted to render actual code examples in the article to show the reader what the end result of the tutorial would look like. Since I use the Tailwind CSS JIT compiler my website ships with a CSS file that contains only the classes that are actually being used in my template files. That seems very restricting as I would probably always use some unavailable class in my examples. So I came up with a solution that utilizes the Tailwind Play CDN to live parse the code snippet and return the CSS needed

  7. Using Mapbox to create a custom tiled map in Statamic

    Rob de Kort Posted on May 30, 2022

    For the Nieuw Allardsoog website Meinte Strikwerda drew a beautiful illustration of the estate. The goal of this post is to make the below illustration interactive, zoomable, and filled with interactive points of interest.

  8. Responsive images with Statamic, Tailwind and Glide

    Rob de Kort Posted on May 25, 2022

    In Statamic it's pretty easy to handle responsive images using Glide and Antlers. I initially wrote this post over two years ago for Statamic v2 and it's proven to be the most visited page of my website. For my new website I decided to give it an update. Here we go.

  9. Localize alt texts in Statamic

    Rob de Kort Posted on May 22, 2022

    Alt texts are very important for accessibility (a11y) and search engine optimization (SEO). Visually impaired users often make use of screen readers. It's software that interprets and reads out the contents of a website. Images of course can't be read out. So it's important to add so called alt texts to them. They also help search engines crawl and interpret the contents of your website.

  10. Statamic Tip: Invalidating Static Cache on Content Update

    Alexander Stoffel Posted on May 06, 2022

    Static caching gives your site a speed boost, but it can also lead to inconsistent content. Here's how you automatically clear exactly the right pages from your static cache.

  11. Working With Dynamic Variables in Antlers Runtime

    John Koster Posted on May 04, 2022

    There are rare situations where being able to reference a variable dynamically would make your life much easier (such as dynamic alt text). Antlers Runtime supports dynamic variables, and this article covers their usage.

  12. Statamic Starter Kits vs WordPress Themes

    Alexander Stoffel Posted on April 30, 2022

    WordPress has themes, Statamic has starter kits - both let you set up a new site quickly, but the approaches are quite different. Here are the main distinctions you should keep in mind when moving from WordPress to Statamic.

  13. Managing Fieldset Handles with Antlers Runtime

    John Koster Posted on April 22, 2022

    Managing prefixed imported fieldsets can sometimes be challenging when attempting to create reusable partials. However, the Antlers Runtime version provides ways to make this easier using the handle_prefix parameter.

  14. Statamic Tip: Using Forms with Static Caching

    Alexander Stoffel Posted on April 11, 2022

    Static Caching gives your site a speed boost, but sadly it also breaks any forms you may have. Here's how you can have the best of both worlds.

  15. Intro to Custom Form Handling in Statamic

    Alexander Stoffel Posted on April 07, 2022

    A quick look at how we can use the standard Statamic forms but add our own submission handling to create a custom newsletter signup form.

  16. Installing Statamic from scratch with Dotfiles

    Jay George Posted on April 05, 2022

    Installing a local environment for Statamic with a script file (dotfiles), with all the gnarly bits left in where I stumble and try to course correct.

  17. Setting Up Statamic Sites with Ploi

    Alexander Stoffel Posted on April 02, 2022

    Deploy tools are a godsend when you create websites for a living. Here's how Ploi.io can save you a ton of time when working with Statamic.

  18. Introduction to Statamic

    Maciek Palmowski Posted on April 01, 2022

    In this guide, I will introduce you to the basics of Statamic and explain how to build and deploy the changes and how to convert it to a static website.

  19. Building a Statamic Website From Scratch - Part 1 (Background)

    Andy Griffiths Posted on March 30, 2022

    Join Andy as he dives into building with Statamic, moving from another content management system, Concrete5

  20. CSV Exporter for Statamic

    Duncan McClean Posted on March 29, 2022

    At Steadfast Collective, we recently released our first Statamic addon. The addon allows users to export content as CSV files.