Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Punch Plugin: How to find the file path to the "templates" directory? #120

Open
s-oram opened this issue Feb 9, 2015 · 2 comments
Open

Comments

@s-oram
Copy link

s-oram commented Feb 9, 2015

I'm attempting to write a Punch plugin. How can a plugin find the full directory path to the "templates" directory? I spent some time looking through the source but couldn't find anything useful.

@laktek
Copy link
Owner

laktek commented Feb 9, 2015

Did you went through the Customizing Punch section in wiki? https://github.com/laktek/punch/wiki#customizing-punch

Accessing templates path depends on the type of plugin you're writing.

@s-oram
Copy link
Author

s-oram commented Feb 9, 2015

I quickly went through the customizing punch section again and still can't see anything in there.

In case it's not clear, I would like to translate "templates" to something like "C:\MyProjects\MyPunchSite\Templates"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants