Add custom subsections in education (#888)
* Add custom subsections in education * Apply requested changes
This commit is contained in:
parent
970656789c
commit
cbdb07dbf1
3 changed files with 22 additions and 0 deletions
|
@ -129,6 +129,12 @@
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.custom-section {
|
||||||
|
.custom-content {
|
||||||
|
padding-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -118,6 +118,14 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ 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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="line">
|
<td class="line">
|
||||||
|
|
|
@ -119,6 +119,14 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ 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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue