Create a gist now

Instantly share code, notes, and snippets.

simple skills list dust template
<div class="section" id="profile-skills" style="display:block">
<div class="header">
<h2>{@pre:i18n text="Skills"}</h2>
{?skills} {! we still want to display the Skills heading, even if the number of skills is zero !}
<div class="content">
<ol class="skills" id="skills-list">
<li class="competency show-bean">
<span class="miniprofile-container jellybean">{.name}</span>
"profile_skill": {
"skills": [{
"name": "JavaScript"
}, {
"name": "Ruby"
}, {
"name": "Java"
"i18n_skills": "Skills" // when rendered with current locale en_US
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment