Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

155
Views
Template for ejs similar to Jekyll or something better

I have used Jekyll in past project and now am using EJS with nodejs.

With Jekyll I would create templates and modify body according to my page view. Example as below.

Default

<!doctype html>
<html lang="en">
  {% include head.html %}
  <body>
    {% include header.html %}

        {{ content }}

    {% include footer.html %}
  </body>
</html>

Index

---
layout: default
---

    <div class="container">

        <!-- My html code -->

    </div>

Page 2

---
layout: default
---

    <div class="container">
    <!-- My other code -->
    </div>

As you can see, I simply add content in my page and default remains intact. I don't need to open and close body or some other element everytime. I couldn't find similar solution for EJS. There is thing called partials but maintaining head, body and defaults are bit troublesome.

Is there some solution similar to Jekyll or something better for easy development?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!