-
Notifications
You must be signed in to change notification settings - Fork 156
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 custom router and template #14
Comments
Thanks your feedback! So this sounds like an improvement of Which allows custom template (currently does not) |
@unknwon when i start write an issue, i think what is impovement of "page" feature, but when i think - pages will be in docs repository, and the template for this is in the peach. when i think - what will happen more often? in my opinion - Edit custom template, is more often operation. Thats why i think - this feature need shoul be called "Additional landing page" ;-) "page feature with custom template" is another feature i think. P.S. here I am beginning to think it may be necessary to use the go-macaron for this purpose - It can be properly used this arch: www.example.com - go-macaron bu there is problem - how i will get syngle style to site and docs ? |
Thanks for the detail! But I'm a bit confused right now: So you want to write HTML yourself and just add a routing? Shouldn't everything be put into the |
sorry for the long silence - i have checking the possibility to build the project by go-macaron with Peach as an additional routers and midleware. The answers is:
|
@allustin thanks for clarifying! |
For what you want @allustin I think the best option would be to use Apache/Nginx with reverse proxy. |
in some cases i will need to set custom page and custom template
for example:
i need to add addintional link "news" to navbar in app.ini, and then i want to have news.html template, in which i would create news feed from blog, social streems and others
The text was updated successfully, but these errors were encountered: