Add skillset grouping for skills

This commit is contained in:
Cedric Girard 2019-08-23 15:24:53 +02:00
parent 4a36dec5dc
commit 225b2d9c9f
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4

View file

@ -1,7 +1,9 @@
<section class="skills-section section"> <section class="skills-section section">
<h2 class="section-title"><span class="icon-holder"><i class="fa {{ .Site.Params.skills.icon }}"></i></span>{{ i18n "skills" }}</h2> <h2 class="section-title"><span class="icon-holder"><i class="fa {{ .Site.Params.skills.icon }}"></i></span>{{ i18n "skills" }}</h2>
<div class="skillset"> <div class="skillset">
{{ range .Site.Params.skills.list }} {{ range .Site.Params.skills.skillset }}
<h3 class="section-title">{{ .skillset }}</h3>
{{ range where $.Site.Params.skills.list "skillset" .skillset }}
<div class="item"> <div class="item">
<h3 class="level-title">{{ .skill }}</h3> <h3 class="level-title">{{ .skill }}</h3>
<div class="progress level-bar"> <div class="progress level-bar">
@ -10,5 +12,6 @@
</div><!--//level-bar--> </div><!--//level-bar-->
</div><!--//item--> </div><!--//item-->
{{ end }} {{ end }}
{{ end }}
</div> </div>
</section><!--//skills-section--> </section><!--//skills-section-->