layout.ejs 942 B

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html>
  2. <html class="h-100">
  3. <%- partial('_partial/head') %>
  4. <body class="d-flex flex-column h-100">
  5. <% if(!is_home()) { %>
  6. <%- partial('_partial/navbar') %>
  7. <% } %>
  8. <main id="vue-app" role="main" class="flex-shrink-0">
  9. <%- body %>
  10. </main>
  11. <%- partial('_partial/footer') %>
  12. </body>
  13. <% if(is_current('/projects/', true)) { %>
  14. <%- getProjectDataHTML(site.posts) %>
  15. <% } else { %>
  16. <script>var projectsList = [];</script>
  17. <% } %>
  18. <script src="/js/jquery-3.5.1.min.js"></script>
  19. <script src="/js/popper.min.js"></script>
  20. <script src="/js/bootstrap.js"></script>
  21. <script src="/js/vue.js"></script>
  22. <script src="/js/moment.min.js"></script>
  23. <script src="/js/vue-tags-input.js"></script>
  24. <script src="/js/video-resize.js"></script>
  25. <%- partial('_partial/vue-app') %>
  26. <script>
  27. $(function () {
  28. $('[data-toggle="tooltip"]').tooltip()
  29. })
  30. </script>
  31. </html>