1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00
nerd-fonts/_includes/section.html

25 lines
4.1 KiB
HTML
Raw Normal View History

2019-07-23 23:36:00 +02:00
{% capture id %}{{ page.id | remove:'/' | downcase }}{% endcapture %}
<div id="{{id}}" class="section p-{{id}}">
{% if id == 'home' %}
<div class="icon-backdrop rainbow">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
</div>
{% endif %}
2019-07-23 23:36:00 +02:00
{% if page.icon %}
<div class="subtlecircle sectiondivider imaged">
<img src="{{page.icon}}" alt="section icon" />
<h5 class="icon-title">{{ page.title }}</h5>
</div>
{% elsif page.fa-icon %}
<div class="subtlecircle sectiondivider faicon">
<span class="fa-stack">
2019-07-25 23:23:49 +02:00
<i class="nf nf-fa-circle fa-stack-2x"></i>
<i class="nf nf-fa-{{ page.fa-icon }} fa-stack-1x"></i>
2019-07-23 23:36:00 +02:00
</span>
<h5 class="icon-title">{{ page.title }}</h5>
</div>
{% endif %}
<div class="{{ page.style }}">
2019-07-23 23:36:00 +02:00
{{ page.content }}
</div>
</div>