<$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.
The path to the folder, relative to the BlogURL.
Example:
For the folder "Bar" in a folder "Foo" <$mt:FolderPath$> becomes foo/bar.
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.
Copyright 2007-2012 Six Apart Ltd. All content licensed under Creative Commons Attribution-Share Alike 3.0 Unported License.
Mihai Bocsaru
March 19, 2011 5:39 PM | Reply
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