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
3 changed files with 22 additions and 0 deletions
+6
View File
@@ -129,6 +129,12 @@
margin-bottom: 0;
}
}
.custom-section {
.custom-content {
padding-bottom: 0.5em;
}
}
}
}
}
@@ -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">
+8
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>