Correct paths

This commit is contained in:
lostinlight 2018-03-12 23:04:15 +03:00
parent 52968e0d24
commit 83292082af
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ layout: layout
<div class="grid main__grid"> <div class="grid main__grid">
<% for (item in list) { %> <% for (item in list) { %>
<a class="grid__item f-<%= noSpace(list[item].title) %>" href=".<%= url_for(page.lang + '/' + noSpace(lowCase(list[item].title))) %>"> <a class="grid__item f-<%= noSpace(list[item].title) %>" href="<%= url_for(page.lang + '/' + noSpace(lowCase(list[item].title))) %>">
<img class="grid__item__image" src="./<%= list[item].smallImg %>" alt="<%= noSpace(list[item].title) %>"> <span class="grid__item__title"><%= list[item].title %></span> <img class="grid__item__image" src="./<%= list[item].smallImg %>" alt="<%= noSpace(list[item].title) %>"> <span class="grid__item__title"><%= list[item].title %></span>
</a> </a>
<div class="grid__card"> <div class="grid__card">

View file

@ -20,7 +20,7 @@
<%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %>
<div class="container <%= contType %>"><%- body %></div> <div class="container <%= contType %>"><%- body %></div>
</main> </main>
<script src="js/main.min.js"></script> <script src="/js/main.min.js"></script>
<% if (is_root()) { %> <script src="js/index.min.js"></script> <% } %> <% if (is_root()) { %> <script src="/js/index.min.js"></script> <% } %>
</body> </body>
</html> </html>