Code Monkey home page Code Monkey logo

mt-recipes's Introduction

Movable Type recipes

Efficient designers and developers want to spend time solving problems rather than reinventing the wheel. To help all our users be more effective, we're collecting examples of how Movable Type can be used in interesting ways to address recurring issues.

Browse recipes

  • [Basename generation function](Basename generation function.md)
  • [Canonical link](Canonical link.md)
  • [Category archive pagination](Category archive pagination.md)
  • [Category distributor over columns](Category distributor over columns.md)
  • [Date ordinal](Date ordinal.md)
  • [Detect existance of archive listing](Detect existance of archive listing.md)
  • [Entries matching any of multiple custom fields](Entries matching any of multiple custom fields.md)
  • [Entries with nonunique titles](Entries with nonunique titles.md)
  • [Export entry data in MT format](Export entry data in MT format.md)
  • [Library (alphanumeric) sort](Library sort.md)
  • [Monthly archives distributor over columns](Monthly archives distributor over columns.md)
  • [Open graph meta tags](Open graph meta tags.md)
  • [Search processing time](Search processing time.md)
  • [Sort by other data](Sort by other data.md)
  • [Thumbnail size calculator](Thumbnail size calculator.md)
  • [XML feed primary category tag](XML feed primary category tag.md)

Contribute

We welcome any additions from the community. Please follow the guidelines below. We may make edits or add more examples.

You can contribute via these methods:

  • If you're Git savvy, feel free to fork this repository, add your recipe files in Markdown format, and send us a pull request.
  • You may open an issue with all the information about your recipe. Ideally this would be Markdown formatted, but we welcome all contributions.

This is the standard format of each recipe file. The filename is a very brief description of the recipe. The file itself is Markdown formatted. Please include as much information as possible. See [Sort by other data.md](Sort by other data.md) for a real example.

## Description

Short description of the problem solved and perhaps a bit about the solution. Just give enough to
differentiate this from other solutions.

## Details

Full explanation, including background and (Markdown style) links to relevant documentation. This
should assume basic MTML knowledge, but explain advanced concepts and give the user direction to
find more information.

Limit code used in the details section to the minimum required to illustrate the technique. Remember
to indent MTML code examples four spaces so this can render well if we paste it into MovableType.org
documentation at some point.

      <mt:Loop name="item_list" sort_by="value">
        <mt:Entries include_blogs="all" id="$__key__">
          <!-- entry output here -->
        </mt:Entries>
      </mt:Loop>

## Example

A full example, including any HTML or other code that might have been stripped out for the basic example
in the last section. Perhaps this would be an example from a real life website. Please change any names
and other information to make it generic and broadly applicable. If no examples are necessary to fully
explain the technique, this section can be omitted.

## Plugins used

List the plugins used in the examples so users can be sure which tags are from plugins. Format this as a
simple list like this:

* My Plugin provides the `MyPluginData` and `MyPluginData2` tags.

If no plugins are used, omit this section.

## Credits

Brief credit if necessary, otherwise omit this section.

mt-recipes's People

Contributors

cng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.