-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add templates to version control #9
Comments
You will need these files in
And you need
|
could anyone tell me how to compose these template files? |
Hello @robertabcd, do you have any plan to do this, or some directions maybe? |
After reading corresponding source code & spending some time on trial-and-error, I have found a way to write templates. You can read Then about the variables, you need to read pttweb.go as well, for example:
So in
btw, you still need
Hope this will help you to build your own templates. |
Seems that the
TemplateDirectory
set in JSON config is not stored with the files? Can we add them in? This would seem to prevent me from confirming a resolution for #8 in the recommended way (using the meta element of pages).Thanks for any consideration you can give this :)
The text was updated successfully, but these errors were encountered: