Best-Practices
Du möchtest das Beste aus deiner Haiilo-Plattform rausholen und deine interne Kommunikation auf ein neues Level bringen? Dann bist du hier genau richtig! Auf dieser Seite findest du unsere besten Tipps und Best-Practices für ein erfolgreiches Intranet.
Teile Best-Practices und tausche dich mit anderen Kunden in unserer Client-Community aus.
Zur Client Community
Best-Practices nach Thema
Best-Practices nach Funktionalität
<% 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 %>