Skip to content

Commit

Permalink
new widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaykundu777 committed Jul 27, 2019
1 parent 25f1d5b commit 8ec3fbc
Show file tree
Hide file tree
Showing 20 changed files with 72 additions and 16 deletions.
2 changes: 1 addition & 1 deletion FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ko_fi: https://ko-fi.com/sujaykundu
ko_fi: sujaykundu
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@

### Demo - [here](https://devlopr.netlify.com)

## Creating a new blog using devlopr jekyll theme:
## Create a new blog using devlopr-jekyll theme - [Guide](https://devlopr.netlify.com/guides/2017/11/19/build-a-blog-using-devlopr-jekyll)

## Deploy devlopr-jekyll blog using Github Pages and Travis CI - [Guide](https://devlopr.netlify.com/guides/2017/11/19/deploy-blog-using-devlopr-jekyll-and-github-pages)

Follow this : [Building a blog using devlopr jekyll theme and Github Pages](https://sujaykundu.com/jekyll/2019/06/22/building-a-blog-using-devlopr-jekyll-theme.html)

## Screenshots:

Expand Down
21 changes: 11 additions & 10 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ url: "https://devlopr.netlify.com" # the base hostname & protocol for your site,
author_logo: profile.png
disqus_shortname: sujay-kundu #for comments using disqus
author: devlopr
author_bio: devlopr-jekyll is a theme built for developers. Anyone can create a blog like this. Just follow the DOCS.
author_email: "john@devlopr.com"
author_bio: devlopr-jekyll is a theme built for developers. Anyone can create a blog like this. As easy as PIE !
author_email: "sujaykundu777@gmail.com"
author_location: India
author_website_url: "https://johndoe.com"
author_website_url: "https://sujaykundu.com"

# social links
twitter_username: yourusername
github_username: yourusername
facebook_username: yourusername
linkedin_username: yourusername
behance_username: yourusername
instagram_username: yourusername
medium_username: yourusername
twitter_username: sujaykundu777
github_username: sujaykundu777
facebook_username: sujay.kundu2
linkedin_username: sujaykundu
behance_username: sujaykundu
instagram_username: sujaykundu777
medium_username: sujaykundu
telegram_username: yourusername
dribbble_username: yourusername
flickr_username: yourusername
Expand All @@ -31,6 +31,7 @@ plugins:
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-analytics
- jekyll-menus

jekyll_analytics:
GoogleAnalytics: # Add, if you want to track with Google Analytics
Expand Down
3 changes: 2 additions & 1 deletion _includes/author_bio.html
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<p> {{ site.author_bio }}</p>
<p> {{ site.author_bio }}</p>

2 changes: 2 additions & 0 deletions _includes/blog_post_article.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ <h4 class="post-meta">{{ page.summary }}</h4>
{{ content }}
</div>

<div id="disqus_thread"></div>

</article>
18 changes: 18 additions & 0 deletions _includes/blog_post_comments.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<script>
var disqus_config = function () {
this.page.url = "{{ site.url }}{{ page.url }}"; /* Replace PAGE_URL with your page's canonical URL variable */
this.page.identifier = "{{ page.id }}"; /* Replace PAGE_IDENTIFIER with your page's unique identifier variable */
};


(function () { /* DON'T EDIT BELOW THIS LINE */
var d = document,
s = d.createElement('script');
s.src = 'https://{{ site.disqus_shortname }}.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the
<a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
</noscript>
2 changes: 2 additions & 0 deletions _includes/blog_sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<div class="card-body text-dark">
<!-- Your Bio -->
<p> {{ site.author_bio }}</p>

{%- include github_star_button.html -%}
</div>
</div>
<div class="card">
Expand Down
2 changes: 2 additions & 0 deletions _includes/github_follow_button.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/sujaykundu777" data-size="large" data-show-count="true" aria-label="Follow @sujaykundu777 on GitHub">Follow @sujaykundu777</a>
2 changes: 2 additions & 0 deletions _includes/github_star_button.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/sujaykundu777/devlopr-jekyll" data-size="large" data-show-count="true" aria-label="Star sujaykundu777/devlopr-jekyll on GitHub">Star</a>
1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<link href="https://fonts.googleapis.com/css?family=Quicksand&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB"
crossorigin="anonymous">
Expand Down
12 changes: 10 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,16 @@ <h1 class="profile-name"> {{ site.title }}</h1>

</div>
<div class="col-md-6 center">

<ul class="nav justify-content-end" id="navigation">
{% for item in site.menus.header %}
<li class="nav-item menu-item-{{ loop.index }}">
<a class="nav-link" href="{{ item.url }}" title="Go to {{ item.title }}">{{ item.title }}</a>
</li>
{% endfor %}
</ul>

<!-- <ul class="nav justify-content-end" id="navigation">
{%- assign default_paths = site.pages | map: "path" -%} {%- assign page_paths = site.header_pages | default: default_paths-%}
{%- if page_paths -%} {%- for path in page_paths -%} {%- assign my_page = site.pages | where: "path",path
| first -%} {%- if my_page.title -%}
Expand All @@ -49,7 +57,7 @@ <h1 class="profile-name"> {{ site.title }}</h1>
</li>
{%- endif -%} {%- endfor -%}
</ul>
</ul> -->

{%- endif -%}

Expand Down
1 change: 1 addition & 0 deletions _includes/twitter_follow_button.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<a href="https://twitter.com/SujayKundu777?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-size="large" data-show-count="true">Follow @SujayKundu777</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
7 changes: 7 additions & 0 deletions _layouts/about_me.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<div class="card">
<h1 class="card-title">About</h1>
{%- include author_bio.html -%}


</div>

<div class="card">
Expand All @@ -30,6 +32,11 @@ <h6>
<i class="fas fa-envelope"></i> {{ site.author_email }}</h6>
<h6>
<i class="fas fa-link"></i> {{ site.author_website_url }} </h6>

{%- include github_follow_button.html -%}

{%- include twitter_follow_button.html -%}


</div>

Expand Down
4 changes: 4 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@
<div class="col-lg-8">

{%- include blog_post_article.html -%}

{%- include blog_post_comments.html -%}
</div>

{%- include blog_sidebar.html -%}



</div> <!-- End of row-->

Expand Down
1 change: 1 addition & 0 deletions about.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: About
menus: header
layout: about_me
permalink: /about
---
1 change: 1 addition & 0 deletions blog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Blog
menus: header
layout: blog
permalink: /blog
---
1 change: 1 addition & 0 deletions contact.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Contact
menus: header
layout: contact_me
permalink: /contact
---
1 change: 1 addition & 0 deletions devlopr.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "jekyll-feed", '~> 0.12.1'
spec.add_runtime_dependency "jekyll-seo-tag", '~> 2.6', '>= 2.6.1'
spec.add_runtime_dependency "jekyll-analytics", '~> 0.1.11'
spec.add_runtime_dependency "jekyll-menus", '~> 0.6.0'

spec.add_runtime_dependency "jekyll", "~> 3.8.5"
spec.add_development_dependency "bundler", '~> 2.0', '>= 2.0.1'
Expand Down
1 change: 1 addition & 0 deletions projects.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Projects
menus: header
layout: my_projects
permalink: /projects
---
1 change: 1 addition & 0 deletions styleguide.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: page
menus: header
title: Styleguide
permalink: /styleguide
---
Expand Down

0 comments on commit 8ec3fbc

Please sign in to comment.