Ghijk: Generate dynamic social share images in Craft CMS
If you are looking for a way to generate custom social cards per entry, check out the tutorial "Generate dynamic social share images in Craft CMS".
External notes and links on Craft CMS, accessibility, plugins and tutorials.
If you are looking for a way to generate custom social cards per entry, check out the tutorial "Generate dynamic social share images in Craft CMS".
In a case study of sorts, Happy Cog's Kylee Cotter, Author Experience Lead, shares the process of creating and bringing Canary Media online using Craft CMS.
Among others, Tailwind CSS, Twig.js, but also plugins like Sprig or Blitz were used.
Trevor Davis from Viget explains in the article how they as an agency avoid "Leaky Templates" in Craft CMS. A "leaky template" is a template that uses variables from a parent template that are not explicitly passed through to the child template.
Shawna O'Neal explains in her tutorial when to use macros or partials in Craft CMS to keep templates structured and clean.
Piotr Pogorzelski shows in his tutorial how to use namespacing forms using Twig in Craft CMS.
Piotr Pogorzelski has published the tutorial Using Javascript in Twig templates with Craft CMS, which is worth reading.
A useful collection of general tips around templating with Twig is provided in the article Twig templating tips and tricks for Craft CMS.
In the tutorial How We Roll With Craft CMS: Templates in Twig, the Zaengle agency shows how they build Craft templates with Twig and refine everything with macro usage.
Piotr Pogorzelski shows how to implement an article excerpt as a Twig component in the Creating article excerpts with Twig component in Craft CMS tutorial.
Piotr Pogorzelski has published his new tutorial on Truncating text with Twig macros in Craft CMS. Automatically truncating text via macro by number of words or number of characters is certainly helpful for applications like blog overview.
Trevor Davis of Viget has published a tutorial titled Level Up with Craft CMS: Know When to Ditch Twig. The content is about how to clean up your Twig templates and use custom modules instead.
Piotr Pogorzelski has written a Twig macro that converts email addresses in a text to "mailto" links in such a way that the mail addresses are safe from spam bots. More details can be found in the tutorial.
1 of 2 pages