Sha256: 7f58cabd5855c4324c1b22c984e29f33e42c39cfb971c768891e162cb6ba8ad0
Contents?: true
Size: 1.12 KB
Versions: 13
Compression:
Stored size: 1.12 KB
Contents
--- title: Only for :pro layout: template-logo-small exclude: - :free --- # <%= current_page.data.title %> This page is only available to targets that are not `:free`; in this sample project, that means that only the `:pro` target will make this page available during build or while running the server. This is accomplished by using the `exclude` key in the [front matter](frontmatter.html) data, and excluding the `:free` target. ~~~ erb --- title: Only for :pro layout: template-logo-small exclude: - :free --- ~~~ Note that `exclude` is a YAML array; you can include multiple `exclude` targets and/or features here. {:.note} <% content_for :seeAlso do %> <ul> <li><a href="index.html">Welcome to middleman-targets</a></li> <li><a href="simple-demo.html">Simple features demonstration</a></li> <li><a href="build-serve-targets.html">Build and Serve different targets</a></li> <li><a href="target-feature-config.html">Configuration</a></li> <li><a href="helpers-resources.html">Helpers and Resources</a></li> <li><a href="frontmatter.html">Front Matter</a></li> <li><a href="cli.html">Command Line Interface</a></li> </ul> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems