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
9 changes: 9 additions & 0 deletions _authors/abhiram.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
username: abhiram
name: Abhiram
logo: /assets/images/authors/sharingan.jpeg
email: abhi.darkness@gmail.com
web: https://abhiramr.com
twitter: https://twitter.com/abhicantdraw/
description: "Abhiram - Co-Organiser"
---
9 changes: 9 additions & 0 deletions _authors/anistark.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
username: anistark
name: Anirudha
logo: https://i.imgur.com/vVqT7PJ.jpg
email: mail@anirudha.dev
web: https://anirudha.dev
twitter: https://twitter.com/kranirudha/
description: "Kumar Anirudha - Co-Organiser"
---
9 changes: 9 additions & 0 deletions _authors/bangpypers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
username: bangpypers
name: BangPypers
logo: /assets/images/authors/bangpypers.jpg
email:
web: https://bangalore.python.org.in
twitter: https://www.meetup.com/BangPypers/
description: "The Bangalore Python User Group"
---
6 changes: 6 additions & 0 deletions _authors/krace.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
username: krace
name: Krace
logo: /assets/images/authors/bangpypers.jpg
email: me@kracekumar.com
---
7 changes: 7 additions & 0 deletions _authors/rahul.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
username: rahul
name: Rahul Kumaresan
logo: https://s.gravatar.com/avatar/199fbad24bc5db74968f668aa16f4e02?s=80
email: kayrahul@gmail.com
twitter: https://twitter.com/RahulKumaresan/
---
8 changes: 8 additions & 0 deletions _authors/ritesh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
username: ritesh
name: Ritesh Agrawal
logo: /assets/images/authors/bangpypers.jpg
email: udr.ritesh@gmail.com
twitter: https://twitter.com/agrawalritesh_
description: "Ritesh Agrawal - Co-Organiser"
---
9 changes: 9 additions & 0 deletions _authors/zeospec.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
username: zeospec
name: ZeoSpec
logo: /assets/images/authors/zeospec.jpg
email: hi@zeospec.com
web: https://zeospec.com
twitter: https://twitter.com/zeospec/
description: "Community Builder"
---
17 changes: 15 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,21 @@ jekyll-archives:
year: '/blog/:year/'
month: '/blog/:year/:month/'
day: '/blog/:year/:month/:day/'
tag: '/authors/:name/'

# tag: '/authors/:name/'

collections:
authors:
output: true
permalink: /authors/:path/

defaults:
- scope:
path: ""
type: "authors"
values:
layout: "archive"
type: "authors"

# Pagination
paginate: 6
paginate_path: /page:num/
Expand Down
57 changes: 0 additions & 57 deletions _data/authors.yml

This file was deleted.

14 changes: 9 additions & 5 deletions _includes/featuredbox.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<!-- begin post -->
{% assign author = site.data.authors[post.author] %}
<div class="col-md-6 mb-30px">
<div class="listfeaturedtag h-100">
<div class="row h-100">
Expand All @@ -25,13 +24,18 @@ <h4 class="card-text"><a href="{{ post.url | prepend: site.baseurl | prepend: si
</div>
<div class="card-footer b-0 bg-white mt-auto">
<div class="wrapfooter">
{% if post.author %}

{% for author in post.authors %}
{% if forloop.first %}
{% assign primary_author = site.authors | where: 'username', author | first %}
<span class="meta-footer-thumb">
<a href="{{ site.baseurl }}/authors/{{ page.author }}/"><img class="author-thumb" src="{% if author.logo %}{% if author.logo contains "://" %}{{ author.logo }}{% else %}{{ author.logo | prepend: site.baseurl | prepend: site.url }}{% endif %}{% else %}{{ site.og_img | prepend: site.baseurl | prepend: site.url }}{% endif %}" alt="{{ author.display_name }}"></a>
<a href="{{ primary_author.url }}"><img class="author-thumb" src="{% if primary_author.logo %}{% if primary_author.logo contains "://" %}{{ primary_author.logo }}{% else %}{{ primary_author.logo | prepend: site.baseurl | prepend: site.url }}{% endif %}{% else %}{{ site.og_img | prepend: site.baseurl | prepend: site.url }}{% endif %}" alt="{{ primary_author.name }}"></a>
</span>
<span class="author-meta">
<span class="post-name"><a href="{{ site.baseurl }}/authors/{{ post.author }}/">{{ author.display_name }}</a></span><br/>
{% endif %}
<span class="post-name"><a href="{{ primary_author.url }}">{{ primary_author.name }}</a></span><br/>
{% endif %}
{% endfor %}

<span class="post-date">{{ post.date | date_to_string }}</span>
</span>
<span class="post-read-more"><a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
Expand Down
22 changes: 11 additions & 11 deletions _includes/postbox.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<!-- begin post -->
{% assign author = site.data.authors[post.author] %}

<div class="col-lg-4 col-md-6 mb-30px card-group">
<div class="card h-100">
<div class="maxthumb">
Expand All @@ -26,16 +24,18 @@ <h4 class="card-text"><a
</div>
<div class="card-footer bg-white">
<div class="wrapfooter">
{% if post.author %}

{% for author in post.authors %}
{% if forloop.first %}
{% assign primary_author = site.authors | where: 'username', author | first %}
<span class="meta-footer-thumb">
<a href="{{ site.baseurl }}/authors/{{ post.author }}/"><img class="author-thumb"
src="{% if author.logo %}{% if author.logo contains "://" %}{{ author.logo }}{% else %}{{ author.logo | prepend: site.baseurl | prepend: site.url }}{% endif %}{% else %}{{ site.og_img | prepend: site.baseurl | prepend: site.url }}{% endif %}"
alt="{{ author.display_name }}"></a>
</span>
<span class="author-meta">
<span class="post-name"><a
href="{{ site.baseurl }}/authors/{{ post.author }}/">{{ author.display_name }}</a></span><br />
{% endif %}
<a href="{{ primary_author.url }}"><img class="author-thumb" src="{% if primary_author.logo %}{% if primary_author.logo contains "://" %}{{ primary_author.logo }}{% else %}{{ primary_author.logo | prepend: site.baseurl | prepend: site.url }}{% endif %}{% else %}{{ site.og_img | prepend: site.baseurl | prepend: site.url }}{% endif %}" alt="{{ primary_author.name }}"></a>
</span>
<span class="author-meta">
<span class="post-name"><a href="{{ primary_author.url }}">{{ primary_author.name }}</a></span><br/>
{% endif %}
{% endfor %}

<span class="post-date">{{ post.date | date_to_string }}</span>
</span>
<span class="post-read-more"><a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}"
Expand Down
20 changes: 12 additions & 8 deletions _layouts/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@
================================================== -->
<section class="recent-posts">
<div class="section-title">
<h2>Archive of posts {% if page.type == "year" %} during {{ page.type }} {% elsif page.type == "month" %} in the {{ page.type }} of {% elsif page.type == "day" %} on {{ page.type }} of {% elsif page.type == "category" %} under category: {% else %} authored by {% endif %} <span>'{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "tag" %}{% assign author = site.data.authors[page.title] %}{{ author.display_name }}{% else %}{{ page.title }}{% endif %}'</span></h2>
<h2>Archive of posts {% if page.type == "year" %} during {{ page.type }} {% elsif page.type == "month" %} in the {{ page.type }} of {% elsif page.type == "day" %} on {{ page.type }} of {% elsif page.type == "category" %} under category: {% else %} contributed by {% endif %} <span>'{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "authors" %}{{ page.name }}{% else %}{{ page.title }}{% endif %}'</span></h2>
</div>
<div class="row listrecent">

{% for post in page.posts %}

{% include postbox.html %}

{% endfor %}

{% if page.type == "authors" %}
{% for post in site.posts %}
{% if post.authors contains page.username or page.username == post.authors %}
{% include postbox.html %}
{% endif %}
{% endfor %}
{% else %}
{% for post in page.posts %}
{% include postbox.html %}
{% endfor %}
{% endif %}
</div>
</section>

12 changes: 6 additions & 6 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
<meta name="theme-color" content="#fffff" />

<title>
{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "tag" %}{% assign author = site.data.authors[page.title] %}{{ author.display_name }}{% else %}{{ page.title }}{% endif %}
{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "authors" %}{{ page.name }}{% else %}{{ page.title }}{% endif %}
| {{site.name}}</title>

<meta name="description"
content="{% if page.description %}{{ page.description }}{% elsif page.type == "year" %}BangPyper's archive of posts during {{ page.type }} {{ page.date | date: "%Y"}}{% elsif page.type == "month" %}BangPyper's archive of posts in the {{ page.type }} of {{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}BangPypers's archive of posts on {{ page.type }} of {{ page.date | date: "%d %B %Y"}}{% elsif page.type == "category" %}BangPyper's archive of posts under {{ page.type }}: {{ page.title }}{% elsif page.type == "tag" %}BangPyper's arvhive of posts authored by {% assign author = site.data.authors[page.title] %}{{ author.display_name }}{% else %}{{ site.description }}{% endif %}">
content="{% if page.description %}{{ page.description }}{% elsif page.type == "year" %}BangPyper's archive of posts during {{ page.type }} {{ page.date | date: "%Y"}}{% elsif page.type == "month" %}BangPyper's archive of posts in the {{ page.type }} of {{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}BangPypers's archive of posts on {{ page.type }} of {{ page.date | date: "%d %B %Y"}}{% elsif page.type == "category" %}BangPyper's archive of posts under {{ page.type }}: {{ page.title }}{% elsif page.type == "authors" %}BangPyper's arvhive of posts contributed by {{ page.name }}{% else %}{{ site.description }}{% endif %}">

<!-- <meta property="fb:app_id" content="" />
<meta name="fb:page_id" content="" /> -->

<meta property="og:title"
content="{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "tag" %}{% assign author = site.data.authors[page.title] %}{{ author.display_name }}{% else %}{{ page.title }}{% endif %} | {{site.name}}">
content="{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "authors" %}{{ page.name }}{% else %}{{ page.title }}{% endif %} | {{site.name}}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ page.url | prepend: site.baseurl | prepend: site.url }}">

Expand All @@ -38,15 +38,15 @@
<meta property="og:image:width" content="630" />
<meta property="og:image:height" content="630" />
<meta property="og:description"
content="{% if page.description %}{{ page.description }}{% elsif page.type == "year" %}BangPyper's archive of posts during {{ page.type }} {{ page.date | date: "%Y"}}{% elsif page.type == "month" %}BangPyper's archive of posts in the {{ page.type }} of {{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}BangPypers's archive of posts on {{ page.type }} of {{ page.date | date: "%d %B %Y"}}{% elsif page.type == "category" %}BangPyper's archive of posts under {{ page.type }}: {{ page.title }}{% elsif page.type == "tag" %}BangPyper's arvhive of posts authored by {% assign author = site.data.authors[page.title] %}{{ author.display_name }}{% else %}{{ site.description }}{% endif %}">
content="{% if page.description %}{{ page.description }}{% elsif page.type == "year" %}BangPyper's archive of posts during {{ page.type }} {{ page.date | date: "%Y"}}{% elsif page.type == "month" %}BangPyper's archive of posts in the {{ page.type }} of {{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}BangPypers's archive of posts on {{ page.type }} of {{ page.date | date: "%d %B %Y"}}{% elsif page.type == "category" %}BangPyper's archive of posts under {{ page.type }}: {{ page.title }}{% elsif page.type == "authors" %}BangPyper's arvhive of posts contributed by {{ page.name }}{% else %}{{ site.description }}{% endif %}">
<meta name="twitter:card" content="summary">
<meta name="twitter:creator" content="@__bangpypers__">
<meta name="twitter:url" content="{{ page.url | prepend: site.baseurl | prepend: site.url }}">
<meta name="twitter:site" content="@__bangpypers__">
<meta name="twitter:title"
content="{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "tag" %}{% assign author = site.data.authors[page.title] %}{{ author.display_name }}{% else %}{{ page.title }}{% endif %} | {{site.name}}">
content="{% if page.type == "year" %}{{ page.date | date: "%Y"}}{% elsif page.type == "month" %}{{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}{{ page.date | date: "%d %B %Y"}}{% elsif page.type == "authors" %}{{ page.name }}{% else %}{{ page.title }}{% endif %} | {{site.name}}">
<meta name="twitter:description"
content="{% if page.description %}{{ page.description }}{% elsif page.type == "year" %}BangPyper's archive of posts during {{ page.type }} {{ page.date | date: "%Y"}}{% elsif page.type == "month" %}BangPyper's archive of posts in the {{ page.type }} of {{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}BangPypers's archive of posts on {{ page.type }} of {{ page.date | date: "%d %B %Y"}}{% elsif page.type == "category" %}BangPyper's archive of posts under {{ page.type }}: {{ page.title }}{% elsif page.type == "tag" %}BangPyper's arvhive of posts authored by {% assign author = site.data.authors[page.title] %}{{ author.display_name }}{% else %}{{ site.description }}{% endif %}">
content="{% if page.description %}{{ page.description }}{% elsif page.type == "year" %}BangPyper's archive of posts during {{ page.type }} {{ page.date | date: "%Y"}}{% elsif page.type == "month" %}BangPyper's archive of posts in the {{ page.type }} of {{ page.date | date: "%B %Y"}}{% elsif page.type == "day" %}BangPypers's archive of posts on {{ page.type }} of {{ page.date | date: "%d %B %Y"}}{% elsif page.type == "category" %}BangPyper's archive of posts under {{ page.type }}: {{ page.title }}{% elsif page.type == "authors" %}BangPyper's arvhive of posts contributed by {{ page.name }}{% else %}{{ site.description }}{% endif %}">
<meta name="twitter:domain" content="{{ site.url }}">
<meta name="twitter:image:src"
content="{% if page.image %}{% if page.image contains "://" %}{{ page.image }}{% else %}{{ page.image | prepend: site.baseurl | prepend: site.url }}{% endif %}{% elsif page.type == "tag" %}{% assign author = site.data.authors[page.title] %}{% if author.logo %}{% if author.logo contains "://" %}{{ author.logo }}{% else %}{{ author.logo | prepend: site.baseurl | prepend: site.url }}{% endif %}{% else %}{{ site.og_img | prepend: site.baseurl | prepend: site.url }}{% endif %}{% else %}{{ site.og_img | prepend: site.baseurl | prepend: site.url }}{% endif %}">
Expand Down
Loading