mirror of
https://github.com/JuanCanham/fresh-theme-elegant.git
synced 2025-06-05 11:56:14 +01:00
Switch to using summary/details for sections
* This makes them foldable * Probably some code from other changes in here too
This commit is contained in:
@ -1,8 +1,12 @@
|
||||
{{#if r.education}}
|
||||
<div id="education" class="detail">
|
||||
<div class="icon"><i class="fs-lg fa fa-graduation-cap"></i><span class="mobile-title">Education</span></div>
|
||||
<details id="education" class="detail" onclick="clear_highlight()" open>
|
||||
<summary>
|
||||
<div class="icon"><i class="fs-lg fa fa-graduation-cap"></i><span class="mobile-title">Education</span></div>
|
||||
<div class="info">
|
||||
<h4 class="title text-uppercase">Education</h4>
|
||||
</div>
|
||||
</summary>
|
||||
<div class="info">
|
||||
<h4 class="title text-uppercase">Education</h4>
|
||||
<div class="content">
|
||||
<ul class="list-unstyled">
|
||||
{{#each r.education.history}}
|
||||
@ -19,8 +23,8 @@
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
{{/if}}
|
||||
|
Reference in New Issue
Block a user