Best Practices
Looking to get the most out of your Haiilo platform and level up your IC? You've come to the right place! This page includes our top tips and proven strategies for a successful intranet.
Do you have a best practice you'd like to share or discuss? Share your insights and learn from other clients in our Client Community!
Take me there
Best practices by theme
Best practices by feature
<% sections.forEach(function(section, index) { %>
<%
var sectionArticles = articles.filter(function(article) {
return article['label_names'].some(function(label) {
return section.labels.includes(label);
});
});
sectionArticles.sort(function(a, b) {
return b.created_at.localeCompare(a.created_at);
});
%>
<% if (sectionArticles.length) { %>
<% } %>
<% }); %>
<% } %>
<% if (sections && sections.length) { %>
<%= section.heading %>
-
<% sectionArticles.slice(0, 4).forEach(function(article) { %>
-
<%= article.title %>
<% }); %>
<% sections.forEach(function(section, index) { %>
<%
var sectionArticles = articles.filter(function(article) {
return article['label_names'].some(function(label) {
return section.labels.includes(label);
});
});
sectionArticles.sort(function(a, b) {
return b.created_at.localeCompare(a.created_at);
});
%>
<% if (sectionArticles.length) { %>
<% } %>
<% }); %>
<% } %>
<% if (videos && videos.length) { %>
<%= section.heading %>
-
<% sectionArticles.slice(0, 4).forEach(function(article) { %>
-
<%= article.title %>
<% }); %>
<% videos.forEach(function(video) { %>
<% }); %>
<% } %>
<%= video.title %>
<%= video.embed_code %>