Skip to content

buildwithcraft/craft-utensils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Craft Utensils

A plugin for Craft that extends the functionality of Twig.

The goal of this project is to deliver helpful templating functionality in a single plugin.

{% unless currentUser.admin %}
  {% redirect 'login' %}
{% endunless %}

There’s {{ entries|length }} {{ 'entry' | pluralize(entries|length) }}!

<div class="bg-img-{{ asset.id | md5 }}"></div>

{{ gist(bb45340bc4eda4c7d932, 'general.php') }}

{{ craft.request.segment(4) | humanize }}

Installation

  1. Copy the utensils/ folder into craft/plugins/
  2. Go to Settings → Plugins and click the “Install” button next to “Utensils”

Usage

There’s far too much to document on a single page. Have a look at the Functions, Filters, and Tags documentation for more.

About

A plugin for Craft that extends the functionality of Twig.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages