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
+1 -5
View File
@@ -43,7 +43,7 @@ EXTRA_PATH_METADATA = {
'extras/safari-pinned-tab.svg': {'path': 'safari-pinned-tab.svg'}, 'extras/safari-pinned-tab.svg': {'path': 'safari-pinned-tab.svg'},
} }
RFG_FAVICONS = True RFG_FAVICONS = False
# icons # icons
ICONS = [ ICONS = [
@@ -51,10 +51,6 @@ ICONS = [
('linkedin', 'https://www.linkedin.com/in/avinal/') ('linkedin', 'https://www.linkedin.com/in/avinal/')
] ]
LINKS = [
('hello', "mailto:me")
]
DEFAULT_PAGINATION = 10 DEFAULT_PAGINATION = 10
PYGMENTS_STYLE = 'monokai' PYGMENTS_STYLE = 'monokai'
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -18,6 +18,7 @@
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</ul> </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> </p>
</div> </div>
+7 -4
View File
@@ -1,7 +1,7 @@
{%- macro fa(icon) -%} {%- macro fa(icon) -%}
{%- set fa_special_icons = { {%- set fa_special_icons = {
"feed": "fas fa-rss", "feed": "fas fa-rss",
"rss": "fas fa-rss", "rss": "fas fa-rss",
} -%} } -%}
{%- if icon in fa_special_icons -%} {%- if icon in fa_special_icons -%}
{{ fa_special_icons[icon] }} {{ fa_special_icons[icon] }}
@@ -20,11 +20,14 @@ fab fa-{{icon}}
</div> </div>
{% endif %} {% endif %}
<div class="col-sm-{% if SITEIMAGE %}8{% else %}12{% 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 %} {% if SITESUBTITLE %}
<p class="text-muted">{{ SITESUBTITLE }}</p> <p class="text-muted">{{ SITESUBTITLE }}</p>
{% endif %} {% 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"> <ul class="list-inline">
{% for title, link in LINKS %} {% for title, link in LINKS %}
<li class="list-inline-item"><a href="{{ url(link) }}" target="_blank">{{ title }}</a></li> <li class="list-inline-item"><a href="{{ url(link) }}" target="_blank">{{ title }}</a></li>
+2 -2
View File
@@ -40,8 +40,8 @@ Articles
</header> </header>
<div class="col-sm-8"> <div class="col-sm-8">
<h4 class="title"> <h4 class="title">
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}{% if article.link %} <i <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}{% if article.link %} <i class="fas fa-link"></i>
class="fas fa-link"></i>{% endif %}</a> {% endif %}</a>
</h4> </h4>
<div class="content"> <div class="content">
{{ article.summary|striptags }} {{ article.summary|striptags }}