Add custom subsections in education (#888)
* Add custom subsections in education * Apply requested changes
This commit is contained in:
committed by
GitHub
parent
970656789c
commit
cbdb07dbf1
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user