Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

How to get folder name

admin

Started by Zwitterio 8 years ago · 0 replies · 651 views
8 years ago

Hi everyone,
Flash question: I'm playing with blueprints and I was wondering if it was possible to use a value as default for another value.
Case example: I want to use "FOLDER_NAME" as slug. How can I get the folder name value (which I select starting the page)?

Suggested topics

Topic Participants Replies Views Activity
General · by jeremycherfas, 1 week ago
4 181 2 days ago
General · by lynbor, 6 days ago
2 124 3 days ago
General · by Old Man Umby, 1 week ago
1 100 1 week ago
General · by Sebastian, 2 weeks ago
1 124 1 week ago
General · by Andy Miller, 3 weeks ago
0 248 3 weeks ago