Add custom subsections in education (#888)

* Add custom subsections in education

* Apply requested changes
This commit is contained in:
Bernat Borràs Civil 2024-02-12 18:24:21 +01:00 committed by GitHub
parent 970656789c
commit cbdb07dbf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 22 additions and 0 deletions

View file

@ -129,6 +129,12 @@
margin-bottom: 0;
}
}
.custom-section {
.custom-content {
padding-bottom: 0.5em;
}
}
}
}
}

View file

@ -118,6 +118,14 @@
</ul>
</div>
{{ end }}
{{ if .custonSections }}
<div class="custom-section">
{{ range .custonSections }}
<h6 class="text-heading">{{ .name }}: </h6>
<div class="custom-content">{{ .content | markdownify }}</div>
{{ end }}
</div>
{{ end }}
</div>
</td>
<td class="line">

View file

@ -119,6 +119,14 @@
</ul>
</div>
{{ end }}
{{ if .custonSections }}
<div class="custom-section">
{{ range .custonSections }}
<h6 class="text-heading">{{ .name }}: </h6>
<div class="custom-content">{{ .content | markdownify }}</div>
{{ end }}
</div>
{{ end }}
</div>
</td>
</tr>