Correct paths

This commit is contained in:
lostinlight 2018-03-12 22:50:37 +03:00
parent 992e7aa844
commit 52968e0d24
3 changed files with 4 additions and 7 deletions

View File

@ -11,8 +11,8 @@ layout: layout
<div class="grid main__grid">
<% for (item in list) { %>
<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>
<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>
</a>
<div class="grid__card">
<h4><img src="<%= list[item].smallImg %>" alt="landscape image"> <span><%= list[item].title %></span></h4>

View File

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

View File

@ -209,12 +209,9 @@ ol {
}
.section-title .icon-logotype {
// display: flex;
color: $white;
// margin: 10px;
width: 22px;
margin: 0 auto;
// height: 22px;
}
.section-title > div {