<$mt:FolderPath$>

The path to the folder, relative to the BlogURL.

Example:

For the folder "Bar" in a folder "Foo" <$mt:FolderPath$> becomes foo/bar.

This page was last updated on 2007-08-14, 11:29.

1 Note

You may like to know that there is an undocumented parameter called separator.

For instance I have a project where I have a folder called "20/20 Insight".

This folder's basename is: /telecom/2020insight

The page archive template mapping is: folder-path/page-basename.html

In other words, the template mapping is to use "-" (dash) instead of "_" (underscore) on the file name.

However, the tag <$mt:FolderPath$> would display the folder basename AS IS, without getting also the characteristic from the page template mapping.

In order to solve this issue I'm using the undocumented parameter called "separator", like this:

<$mt:FolderPath separator="-"$>

Enjoy, Mihai

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.