News updates, tips on using Perch and running a great web design business
A common pattern with a paged listing such as a blog, is to do something different with the first item. We’ve added some new variables to help.
AMP (Accelerated Mobile Pages) is a way to build versions of your pages optimised for speed. AMP pages are just another text format – like HTML or RSS. Perch is really great at editing any kind of text format, so I take a look at how we output blog posts as AMP.
The latest version of the Foundation framework was released last week. As part of the Foundation site there are some example templates, demonstrating how to use Foundation to create a variety of layouts. I’m going to use one of those layouts to demonstrate a number of features of the Perch template language.
A post about capturing data and then using it to add meaning in your designs.
Material Design Lite lets you add a Material Design look and feel to your websites. Perch is ideally suited to creating templates for use with this framework. I take a look and share some example templates.
In Perch there are various ways of creating repeating content, most of which happen via your templates rather than by messing around inside a PHP loop on the page! In this post I’ll introduce them and suggest when you might use each one.
Sometimes when you are repeating items in a multiple item region you need to insert some markup between every so many items. This pattern happens a lot in the Bootstrap framework, where you need to add row divs around rows of items.
Perch makes this easy to do with perch:before
and perch:after
with the perch:every
tag.
When it comes to editing blocks of formatted content in Perch we offer you a real choice. Use Markdown, Textile or HTML. Edit with a simple formatting editor or use a full WYSIWYG Plugin.
Something we hear over and over again from Perchers is how using Perch cuts down the amount of time spent training and supporting clients in using their CMS. You can cut that time down even more by using some of the tools in Perch for adding help and tweaking edit forms to make them logical to complete.
If you have ever shared a blog post on Facebook and wondered why a strange image was picked off your site to illustrate it, you’ll be happy to know that Perch can help you customize what social sites use when your content is shared.