Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions _includes/featuredbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,26 @@ <h4 class="card-text">{{ post.teaser | strip_html | truncatewords:25 }}</h4>
<div class="card-footer b-0 bg-white mt-auto">
<div class="wrapfooter">
{% if post.author %}
<span>Authors: &nbsp;</span>
<span class="meta-footer-thumb">
</span>
<span class="author-meta">
<span class="post-name">{{ author.display_name }}</span><br/>
<span style="color:#8d8d8d; margin:0; font-weight:600;">AUTHOR</span><br/>
<span class="post-name" style="margin: 0; ">{{ author.display_name }}</span><br/>

{% endif %}
{% if post.authors %}
<span>Authors: &nbsp;</span>
<!-- <span style="color:rgb(121, 121, 121)">Authors:</span> -->
<span class="meta-footer-thumb">
</span>
<span class="author-meta">
<span style="color:#8d8d8d; margin:0; font-weight:600;">AUTHORS</span><br/>
{% assign authors_list = post.authors | split: "," %}
{% for single_author in authors_list %}
{% assign this_author = site.authors[single_author] %}
<span class="post-name">{{ this_author.display_name }} &nbsp;</span><br/>
<span class="post-name">{{ this_author.display_name }}{% if forloop.last == false %},
{% endif %}</span>

<br/>
{% endfor %}
{% endif %}
<!--span class="post-date">{{ post.date | date_to_string }}</span-->
Expand Down
10 changes: 7 additions & 3 deletions _includes/postbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,28 @@ <h2 class="card-title">
<h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:30 }}</h4>
</div>
<div class="card-footer bg-white">

<div class="wrapfooter">
{% if post.author %}
<span>Author: &nbsp;</span>
<span class="meta-footer-thumb">
</span>
<span class="author-meta">
<span style="color:#8d8d8d; margin:0; font-weight:600;">AUTHOR &nbsp;</span><br/>

<span class="post-name">{{ author.display_name }}</span><br/>
{% endif %}

{% if post.authors %}
<span>Authors: &nbsp;</span>
<span class="meta-footer-thumb">
</span>
<span class="author-meta">
<span style="color:#8d8d8d; margin:0; font-weight:600;">AUTHORS &nbsp;</span><br/>
{% assign authors_list = post.authors | split: "," %}
{% for single_author in authors_list %}
{% assign this_author = site.authors[single_author] %}
<span class="post-name">{{ this_author.display_name }} &nbsp;</span><br/>
<span class="post-name">{{ this_author.display_name }}{% if forloop.last == false %},
{% endif %}</span>
<br/>
{% endfor %}
{% endif %}
</span>
Expand Down
116 changes: 86 additions & 30 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,44 +23,48 @@

<!-- Author Box -->
{% if page.author %}
<div class="row post-top-meta">
<div class="col-xs-12 col-md-3 col-lg-2 text-center text-md-left mb-4 mb-md-0">
<!-- <h4 class="">Author</h4> -->
<h6 class="">Authored by</h6>
<!-- <div class="row post-top-meta"> -->
<!-- <div class="col-xs-12 text-center text-md-left mb-4 mb-md-0">
{% if author.avatar %}
<img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
<img class="author-thumb-top" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
{% else %}
<img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
<img class="author-thumb-top" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
{% endif %}
</div> -->

<div class="col-xs-12 text-center text-md-left">
<a target="_blank" class="link-dark" href="{{ author.web }}">{{ author.display_name }}</a>
</div>
<div class="col-xs-12 col-md-9 col-lg-10 text-center text-md-left">
<a target="_blank" class="link-dark" href="{{ author.web }}">{{ author.display_name }}</a><a target="_blank" href="{{ author.twitter }}" class="btn follow">Follow</a>
<span class="author-description">{{ author.description }}</span>
</div>
</div>
<!-- </div> -->
{% endif %}

{% if page.authors %}
{% assign authors = page.authors | split: "," %}
<h2>Authors</h2>
{% for author_name in authors %}
{% assign author = site.authors[author_name] %}
{% if author %}
<!-- Author Box -->
<div class="row post-top-meta">
<div class="col-xs-12 col-md-3 col-lg-2 text-center text-md-left mb-4 mb-md-0">
{% if author.avatar %}
<img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
{% else %}
<img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
{% endif %}
</div>
<div class="col-xs-12 col-md-9 col-lg-10 text-center text-md-left">
<a target="_blank" class="link-dark" href="{{ author.web }}">{{ author.display_name }}</a>
<a target="_blank" href="{{ author.twitter }}" class="btn follow">Follow</a>
<span class="author-description">{{ author.description }}</span>
</div>
</div>
{% endif %}
{% endfor %}

<h6 class="">Authored by</h6>
<div class="d-flex">
{% for author_name in authors %}
{% assign author = site.authors[author_name] %}
{% if author %}
<!-- Author Box -->
<!-- <div class="row align-items-center gap-2 post-top-meta"> -->
<!-- <div class="col-xs-12 text-center text-md-left mb-2 mb-md-0">
{% if author.avatar %}
<img class="author-thumb-top" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
{% else %}
<img class="author-thumb-top" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
{% endif %}
</div> -->
<div class="text-center text-md-left">
<a target="_blank" class="link-dark " href="{{ author.web }}">{{ author.display_name }}{% if forloop.last == false %},&nbsp;
{% endif %}</a>
</div>
<!-- </div> -->
{% endif %}
{% endfor %}
</div>
{% endif %}

<!-- Post Title -->
Expand Down Expand Up @@ -109,6 +113,55 @@ <h3 class="font-weight-bold">Summary</h3>
</div>
{% endif %}

<!-- Author Box -->
{% if page.author %}
<h3 class="text-center d-md-none">About The Author</h3>
<h3 class="text-start d-md-flex d-none">About The Author</h3>
<div class="row post-top-meta">
<div class="col-xs-12 col-md-3 col-lg-2 text-center text-md-left mb-4 mb-md-0">
{% if author.avatar %}
<img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
{% else %}
<img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
{% endif %}
</div>
<div class="col-xs-12 col-md-9 col-lg-10 text-center text-md-left">
<a target="_blank" class="link-dark" href="{{ author.web }}">{{ author.display_name }}</a><a target="_blank" href="{{ author.twitter }}" class="btn follow">Follow</a>
<span class="author-description">{{ author.description }}</span>
</div>
</div>
{% endif %}

<!-- Authors Box -->
{% if page.authors %}
{% assign authors = page.authors | split: "," %}
<h3 class="text-center d-md-none">About The Authors</h3>
<h3 class="text-start d-md-flex d-none">About The Authors</h3>
<div class="mt-2">
{% for author_name in authors %}
{% assign author = site.authors[author_name] %}
{% if author %}
<!-- Author Box -->
<div class="row post-top-meta">
<div class="col-xs-12 col-md-3 col-lg-2 text-center text-md-left mb-2 mb-md-0">
{% if author.avatar %}
<img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
{% else %}
<img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
{% endif %}
</div>
<div class="col-xs-12 col-md-9 col-lg-10 text-center text-md-left">
<a target="_blank" class="link-dark" href="{{ author.web }}">{{ author.display_name }}</a>
<a target="_blank" href="{{ author.twitter }}" class="btn follow">Follow</a>
<span class="author-description">{{ author.description }}</span>
</div>
</div>
{% endif %}
{% endfor %}
</div>
{% endif %}


<!-- Post Date -->
<p>
<small>
Expand Down Expand Up @@ -145,6 +198,7 @@ <h3 class="font-weight-bold">Summary</h3>
</div>
<!-- End Tags -->


<!-- Prev/Next -->
<div class="row PageNavigation d-flex justify-content-between font-weight-bold">
{% if page.previous.url %}
Expand All @@ -160,6 +214,8 @@ <h3 class="font-weight-bold">Summary</h3>
</div>
<!-- End Post -->



</div>
</div>
<!-- End Article
Expand Down
19 changes: 17 additions & 2 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,19 @@ section.recent-posts {
}

.wrapfooter {
font-size: .8rem;
font-size: .7rem;
display: flex;
align-items: center;
margin-bottom: 15px;
}

.author-thumb-top{
width: 35px;
height: 35px;
margin:0 13px;
border-radius: 100%;
}

.author-thumb {
width: 40px;
height: 40px;
Expand All @@ -184,7 +191,7 @@ section.recent-posts {
}

.post-top-meta {
margin-bottom: 2rem;
margin-bottom: 1rem;
}

.post-top-meta .author-thumb {
Expand Down Expand Up @@ -220,6 +227,14 @@ section.recent-posts {
overflow: hidden !important;
}

span.post-name{
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
line-height: 10px;
font-stretch: expanded;
color:#5a5a5a;
}
span.post-name,
span.post-date,
span.author-meta {
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
services:
jekyll:
image: jekyll/jekyll:latest
command: jekyll serve --force_polling
command: jekyll serve --force_polling --trace
ports:
- 4000:4000
- 4000:4000
volumes:
- .:/srv/jekyll
- .:/srv/jekyll