Actually, the question is, is it possible to do without Koala or another preprocessor? And whether?

  • And for what purpose? On Github Pages? Or for self-assembly with Jekyll? - D-side
  • @ D-side, Bases and php will not be used, so it will be placed on Github, yes. Well, in general, a strange question. What is the difference between the self-assembly process and the Github-oriented assembly? The process is the same, the question is only in the complexity of implementation. - VostokSisters

1 answer 1

No , you won't do without a preprocessor before a commit. Unless you will render Jade directly in the browser, which for a static site seems to me a strange approach.

On Github Pages, sites on Jekyll are built in "safe mode" with a predetermined set of plug-ins , so it’s impossible to execute arbitrary code there (for example, from your own plug-ins).

So the githab itself will not render Jade .

Of course, if you are ready to score on a site assembly with a githabb and build a site outside of it (locally or via a CI service like Travis), using the githab only for publishing (but not assembly), then you can do absolutely anything.

  • Yeah, now I see. Thank! There is another question: did you give a link to the plug-ins that are on Github and they will already work as soon as I upload my site to the repository? I also found there in the list of Sass and Liquid, with whom I am familiar. Will they also compile Jekyll with any change in the files and load it into the _site ready directory? Just to understand how it works, it’s interesting) But most likely the best way to design your project will be to download it through the Github application of the new version of the site, this is done with one button, it’s not particularly expensive, probably ... - VostokSisters
  • @VostokSisters Liquid, write at the heart of Jekyll. The layout system relies on it. Naturally, he is there: D And with Sass the situation is more interesting. It's easier to set an example that works on a githaba. - D-side
  • I didn’t understand much from the example ... I couldn’t find the file paper.css from the search on Github, so it didn’t compile? Well, or is it used somewhere in a different sass file? Although he himself looks like a compilation day off, it remains only to be rendered in main.sass ... But there is no it in Maine. And most main.css is not compiled I do not understand the structure of the site, in general. : D Can you explain it?) Or do you even want to say that Github does not need to compile sass? - VostokSisters
  • @VostokSisters is not in the repository, the githab collects it itself and distributes it . - D-side
  • Well, go nuts now. I don’t even know if this is better or not ... But I definitely need to decide for myself) Thanks for the clarifications - VostokSisters