Added logic to the education icon line

This commit is contained in:
Gabriel Jean 2022-05-08 18:03:26 +00:00 committed by GitHub
parent 06ee3c1e1f
commit 669cf3b675
2 changed files with 20 additions and 14 deletions

View file

@ -12,13 +12,16 @@
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }}
<div class="container">
<table class="education-info-table">
<tbody>
{{ range .degrees}}
<tr>
<td class="icon">
<div class="hline"></div>
<div class="container">
<table class="education-info-table">
<tbody>
{{ $count := len .degrees }}
{{ range .degrees}}
<tr>
<td class="icon">
{{ if gt $count 1}}
<div class="hline"></div>
{{ end }}
<div class="icon-holder">
<i class="fas {{ .icon }}"></i>
</div>

View file

@ -12,13 +12,16 @@
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }}
<div class="container">
<table class="education-info-table">
<tbody>
{{ range .degrees}}
<tr>
<td class="icon">
<div class="hline"></div>
<div class="container">
<table class="education-info-table">
<tbody>
{{ $count := len .degrees }}
{{ range .degrees}}
<tr>
<td class="icon">
{{ if gt $count 1}}
<div class="hline"></div>
{{ end }}
<div class="icon-holder">
<i class="fas {{ .icon }}"></i>
</div>