Answer the question
In order to leave comments, you need to log in
Post processor for HTML?
I need to make a website with articles, like a blog. That is, the main page is a list of articles, you can go inside and read each one. No database, no admin panel is needed - everything will be written and typed manually. It would seem that nowhere is easier.
The highlight is that each article is supposed to be unique. Each page can be designed in its own way, its own layout, its own styles, its own fonts. Some kind of branding. Of course, there will still be something in common between them, but there will be many differences. In other words, in addition to global statics, each article can have its own styles, scripts, pictures, etc.
// то есть помимо
http://site.com/css/
http://site.com/images/
http://site.com/js/
// ещё должны быть
http://site.com/article-title/css/
http://site.com/article-title/images/
http://site.com/article-title/js/
// оглавление
http://site.com/article-title/
// части
http://site.com/article-title/1/
http://site.com/article-title/2/
http://site.com/article-title/3/
<link rel="stylesheet" type="text/css" href="{{ basePath }}/css/style.css">
<link rel="stylesheet" type="text/css" href="{{ articlePath }}/css/style.css">
<a href="{{ articlePath }}">К оглавлению</a>
<a href="{{ articlePath }}/{{ nextChapter.number }}">{{ nextChapter.title }}</a>
Answer the question
In order to leave comments, you need to log in
As an alternative to "hand-to-hand" with jade - jekyllrb.com
Can be hosted on github
jade, you need jade-lang.com
cool thing, after a year of working with jade, I don't even want to look at pure html
You won't find it, and you don't really need it.
For things like this, gulp + jade is perfect. Everything can be done very cool, but you still have to tinker. Learn gulp, jade, sass and of course Noda.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question