Answer the question
In order to leave comments, you need to log in
How to quickly and easily assemble a website from static HTML and templates?
There are 100500 linked pieces of content (what's inside the body) as static HTML.
I want to quickly mold them into a site with one, maximum three templates. Those. frame all the statics in the proper form and lay out in bulk. You can touch content pages, but I would not want to - pages will be added, replaced with new ones, possibly pulled out from other places.
No admin is needed - just templates.
How to proceed? What to use?
Answer the question
In order to leave comments, you need to log in
You can use a combination of the Silex microframework and the Twig template engine
Silex will help you make simple page call controller logic and routes with a parameter
Twig allows you to make good templating and inheritance or include templates
I support avalak and NtMag1steR
For microprojects - microframeworks. SSI also has the right to life. Because used Silex - I can say that this is a fat-free Symfony2, it can be useful if nothing more templates are needed. However, if you suddenly want to add a database, it's better to take Symfony right away. Because in Silex all the same it is necessary to add a heap of components thereof.
jekyllrb.com/ - from the creator of GitHub, powered by GitHub pages.
Well, Google for "static site generator". There are for almost any language to choose from.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question