- Co-Author{% if page.tags.size > 2 %}s{% endif %} + Co-Author{% if page.authors.size > 2 %}s{% endif %} -
+diff --git a/_authors/abhiram.md b/_authors/abhiram.md new file mode 100644 index 00000000..c522e2b4 --- /dev/null +++ b/_authors/abhiram.md @@ -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" +--- \ No newline at end of file diff --git a/_authors/anistark.md b/_authors/anistark.md new file mode 100644 index 00000000..be18b6b9 --- /dev/null +++ b/_authors/anistark.md @@ -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" +--- \ No newline at end of file diff --git a/_authors/bangpypers.md b/_authors/bangpypers.md new file mode 100644 index 00000000..08f94ae7 --- /dev/null +++ b/_authors/bangpypers.md @@ -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" +--- \ No newline at end of file diff --git a/_authors/krace.md b/_authors/krace.md new file mode 100644 index 00000000..b2592980 --- /dev/null +++ b/_authors/krace.md @@ -0,0 +1,6 @@ +--- +username: krace +name: Krace +logo: /assets/images/authors/bangpypers.jpg +email: me@kracekumar.com +--- \ No newline at end of file diff --git a/_authors/rahul.md b/_authors/rahul.md new file mode 100644 index 00000000..c71cd250 --- /dev/null +++ b/_authors/rahul.md @@ -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/ +--- \ No newline at end of file diff --git a/_authors/ritesh.md b/_authors/ritesh.md new file mode 100644 index 00000000..f0ddd33e --- /dev/null +++ b/_authors/ritesh.md @@ -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" +--- \ No newline at end of file diff --git a/_authors/zeospec.md b/_authors/zeospec.md new file mode 100644 index 00000000..cc43bcb9 --- /dev/null +++ b/_authors/zeospec.md @@ -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" +--- \ No newline at end of file diff --git a/_config.yml b/_config.yml index 4ea7589e..eb1044e7 100644 --- a/_config.yml +++ b/_config.yml @@ -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/ diff --git a/_data/authors.yml b/_data/authors.yml deleted file mode 100644 index 60ec4c83..00000000 --- a/_data/authors.yml +++ /dev/null @@ -1,57 +0,0 @@ -# twitter is used for the follow add any link that you want the user to go to. -bangpypers: - name: BangPypers - display_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" - -zeospec: - name: ZeoSpec - display_name: ZeoSpec - logo: /assets/images/authors/zeospec.jpg - email: - web: https://zeospec.com - twitter: https://twitter.com/zeospec/ - description: "ZeoSpec - Community Builder" - -abhiram: - name: Abhiram - display_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" - -anistark: - name: Kumar Anirudha - display_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" - -ritesh: - name: Ritesh Agrawal - display_name: Ritesh - logo: /assets/images/authors/bangpypers.jpg - email: udr.ritesh@gmail.com - twitter: https://twitter.com/agrawalritesh_ - description: "Ritesh Agrawal - Co-Organiser" - -krace: - name: Kracekumar Ramaraju - display_name: Krace - logo: /assets/images/authors/bangpypers.jpg - email: me@kracekumar.com - -rahul: - name: Rahul Kumaresan - display_name: Rahul - logo: https://s.gravatar.com/avatar/199fbad24bc5db74968f668aa16f4e02?s=80 - email: kayrahul@gmail.com - twitter: https://twitter.com/RahulKumaresan/ diff --git a/_includes/featuredbox.html b/_includes/featuredbox.html index 18e04ebe..2e8f3e21 100644 --- a/_includes/featuredbox.html +++ b/_includes/featuredbox.html @@ -1,5 +1,4 @@ -{% assign author = site.data.authors[post.author] %}
- Co-Author{% if page.tags.size > 2 %}s{% endif %} + Co-Author{% if page.authors.size > 2 %}s{% endif %} -
+