mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
themes updated
This commit is contained in:
@@ -13,37 +13,37 @@ fab fa-{{icon}}
|
||||
{%- endmacro -%}
|
||||
<div class="row">
|
||||
{% if SITEIMAGE %}
|
||||
<div class="col-sm-4">
|
||||
<a href="{{ SITEURL }}/">
|
||||
<img class="img-fluid rounded" src={{ url(SITEIMAGE) }} alt="{{ SITENAME }}">
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<a href="{{ SITEURL }}/">
|
||||
<img class="img-fluid rounded" src={{ url(SITEIMAGE) }} alt="{{ SITENAME }}">
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="col-sm-{% if SITEIMAGE %}8{% else %}12{% endif %}">
|
||||
<h1 class="title"><a href="{{ SITEURL }}/">{{ SITENAME }}</a></h1>
|
||||
{% if SITESUBTITLE %}
|
||||
<p class="text-muted">{{ SITESUBTITLE }}</p>
|
||||
<p class="text-muted">{{ SITESUBTITLE }}</p>
|
||||
{% endif %}
|
||||
{% if LINKS or (DISPLAY_PAGES_ON_MENU and pages) or ICONS %}
|
||||
<ul class="list-inline">
|
||||
{% for title, link in LINKS %}
|
||||
<li class="list-inline-item"><a href="{{ url(link) }}" target="_blank">{{ title }}</a></li>
|
||||
{% endfor %}
|
||||
{% if DISPLAY_PAGES_ON_MENU %}
|
||||
{% for page in pages %}
|
||||
{% if LINKS and loop.first %}
|
||||
<li class="list-inline-item text-muted">|</li>
|
||||
{% endif %}
|
||||
<li class="list-inline-item"><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for icon, link in ICONS %}
|
||||
{% if (LINKS or (DISPLAY_PAGES_ON_MENU and pages)) and loop.first %}
|
||||
<li class=" list-inline-item text-muted">|</li>
|
||||
{% endif %}
|
||||
<li class="list-inline-item"><a class="{{ fa(icon) }}" href="{{ url(link) }}" target="_blank"></a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<ul class="list-inline">
|
||||
{% for title, link in LINKS %}
|
||||
<li class="list-inline-item"><a href="{{ url(link) }}" target="_blank">{{ title }}</a></li>
|
||||
{% endfor %}
|
||||
{% if DISPLAY_PAGES_ON_MENU %}
|
||||
{% for page in pages %}
|
||||
{% if LINKS and loop.first %}
|
||||
<li class="list-inline-item text-muted">|</li>
|
||||
{% endif %}
|
||||
<li class="list-inline-item"><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for icon, link in ICONS %}
|
||||
{% if (LINKS or (DISPLAY_PAGES_ON_MENU and pages)) and loop.first %}
|
||||
<li class=" list-inline-item text-muted">|</li>
|
||||
{% endif %}
|
||||
<li class="list-inline-item"><a class="{{ fa(icon) }}" href="{{ url(link) }}" target="_blank"></a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user