1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-04 07:40:09 +05:30

Theme modified (#5)

This commit is contained in:
Avinal Kumar
2021-01-26 21:49:47 +05:30
committed by GitHub
parent e57081eaac
commit add5b6acc9
5 changed files with 13 additions and 13 deletions
+2 -1
View File
@@ -18,6 +18,7 @@
{% endfor %}
{% endif %}
</ul>
<p class="col-sm-6 text-sm-right text-muted"><i class="fa fa-copyright"></i> 2018-2021 <a href="https://github.com/avinal" target="_blank">Avinal Kumar</a>
<p class="col-sm-6 text-sm-right text-muted"><i class="fa fa-copyright"></i> 2018-2021 <a
href="https://github.com/avinal" target="_blank">Avinal Kumar</a>
</p>
</div>
+7 -4
View File
@@ -1,7 +1,7 @@
{%- macro fa(icon) -%}
{%- set fa_special_icons = {
"feed": "fas fa-rss",
"rss": "fas fa-rss",
"feed": "fas fa-rss",
"rss": "fas fa-rss",
} -%}
{%- if icon in fa_special_icons -%}
{{ fa_special_icons[icon] }}
@@ -20,11 +20,14 @@ fab fa-{{icon}}
</div>
{% endif %}
<div class="col-sm-{% if SITEIMAGE %}8{% else %}12{% endif %}">
<h1 class="title" style="font-family: ExodarOut;font-weight: lighter;"><a href="{{ SITEURL }}/">{{ SITENAME }}</a></h1>
<h1 class="title" style="font-family: ExodarOut;font-weight: lighter;"><a href="{{ SITEURL }}/">{{ SITENAME }}</a>
</h1>
<!--
{% if SITESUBTITLE %}
<p class="text-muted">{{ SITESUBTITLE }}</p>
{% endif %}
{% if LINKS or (DISPLAY_PAGES_ON_MENU and pages) or ICONS %}
-->
{% if LINKS or (DISPLAY_PAGES_ON_MENU and pages) or ICONS or MAIL %}
<ul class="list-inline">
{% for title, link in LINKS %}
<li class="list-inline-item"><a href="{{ url(link) }}" target="_blank">{{ title }}</a></li>
+2 -2
View File
@@ -40,8 +40,8 @@ Articles
</header>
<div class="col-sm-8">
<h4 class="title">
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}{% if article.link %} <i
class="fas fa-link"></i>{% endif %}</a>
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}{% if article.link %} <i class="fas fa-link"></i>
{% endif %}</a>
</h4>
<div class="content">
{{ article.summary|striptags }}