When encoding imports or exports, differences in the coding language may result in the addition or substitution of special characters which can lead to an error in your site. To resolve, ensure that the file is using UTF-8 encoding. For example, if you try to open some data files directly in Excel, the Excel program makes assumptions about the file encoding and will add special characters where there were none. This can be solved by specifying that it should use UTF-8 encoding to read the file.
<% if (previousArticle) { %>
<% } %>
<% if (allItems.length > 1) { %>
<% if (previousTitle) { %>
<% } %>
<% if (nextArticle) { %>
<%= previousTitle %>
<% } %> <%= previousArticle.title %>
<% if (nextTitle) { %>
<% } %>
<%= nextTitle %>
<% } %> <%= nextArticle.title %>In this article
-
<% allItems.forEach(function(item) { %>
- <%= item.name %> <%= partial('partial-table-of-contents', { items: item.children, partial: partial }) %> <% }); %>
-
<% items.forEach(function(item) { %>
- <%= item.name %> <%= partial('partial-table-of-contents', { items: item.children, partial: partial }) %> <% }); %>
Comments
0 comments
Please sign in to leave a comment.