Added logic to the education icon line (#589)

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
This commit is contained in:
Gabriel Jean 2022-05-16 01:08:47 -04:00 committed by GitHub
parent eacae1be3e
commit 2ae15e5235
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>