Sha256: dbb6d2663da92f79661e657646ac39f9c5f39513ae7c8171e8e7411d4955ac6a

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

---
title:     Invisible On Free
blurb:     This page is not available for target `:free`, as a demonstration of
           the use of targets.
layout:    template-logo-small
navigator: false
exclude:
 - :free
---
<%= md_links %>
<%= md_images %>

<%= current_page.data.title %>
==============================

<%= current_page.data.blurb %>


How is this accomplished?
-------------------------

This is the frontmatter for this page. Note the key `exclude`, which indicates
that this is page should be hidden from _Middleman_’s navigation system and
build output.

~~~ yaml
---
title:     Invisible On Free
blurb:     This page is not available for target `:free`, as a demonstration of
           the use of targets.
layout:    template-logo-small
navigator: false
exclude:
 - :free
---
~~~

The opposite of `exclude` is `target`. If you use `target`, only those targets
included in the target list will be included in _Middlemac_ navigation.
Using `exclude` overrides `target`.

Note that `target` and `exclude` are lists; you can specify multiple targets and
[features][features_overview] (which also can be used).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middlemac-2.0.0 documentation_project/Contents/Resources/Base.lproj/050_structure/not_free.html.md.erb