How to do it…

  1. In app/partial/_js.ejs, at the bottom of the other script tags already present in the file, add the following two script tags :
<script src="https://gitcdn.xyz/repo/esimakin/twbs-pagination/master/jquery.twbsPagination.js"></script> <script src="https://gitcdn.xyz/repo/flaviusmatis/simplePagination.js/master/jquery.simplePagination.js"></script>
  1. While still in the same file, at the very bottom, add the following line of code:
<%- partial("_recipe-06-12-js") %>
  1. Next, in recipe06-12.ejs, add the HTML for the recipe:
 <div class="container"> <div class="mt-5"> <h1><%- title %></h1> <p><a href="https://v4-alpha.getbootstrap.com/components/alerts/"    target="_blank">Link to bootstrap alerts docs</a></p> </div><!-- /.container ...

Get Bootstrap 4 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.