Skip to content

Commit

Permalink
v 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaykundu777 committed Jul 3, 2018
0 parents commit b687ff0
Show file tree
Hide file tree
Showing 22 changed files with 778 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.gem
.bundle
.sass-cache
_site
Gemfile.lock
10 changes: 10 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Not Found
layout: default
---

<h1>404</h1>

<p><strong>Page not found :(</strong></p>

<p>The requested page could not be found.</p>
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# frozen_string_literal: true

source "https://rubygems.org"
gemspec
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2018 Sujay Kundu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
53 changes: 53 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# devlopr

Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.

To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!

TODO: Delete this and the text above, and describe your gem


## Installation

Add this line to your Jekyll site's `Gemfile`:

```ruby
gem "devlopr"
```

And add this line to your Jekyll site's `_config.yml`:

```yaml
theme: devlopr
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install devlopr
## Usage
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## Development
To set up your environment to develop this theme, run `bundle install`.

Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
To add a custom directory to your theme-gem, please edit the regexp in `devlopr.gemspec` accordingly.

## License

The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

# Categories, Posts, Images
7 changes: 7 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<footer>

<p> All Rights Reserved. {{ site.title }}. Subscribe via
<a href="{{ " /feed.xml " | prepend: site.baseurl }}">RSS</a>
</p>

</footer>
29 changes: 29 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<head>
<meta charset="utf-8">
<!-- Site title -->
<title>{{ site.name }}</title>

<meta http-equip="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<!-- Site Description -->
<meta name="description" content="{{ site.description }}">

<!-- Stylesheets goes here -->
<link rel="stylesheet" href="{{ site.url }}/assets/css/main.css" />

<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
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>
<link href="https://fonts.googleapis.com/css?family=Montserrat" 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">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt"
crossorigin="anonymous">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
58 changes: 58 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<header>

<div class="col-lg-12">
<div class="row">
<div class="col-md-2 center">
<a href="/">
<img src="{{ site.url }}/assets/images/profile.png" class="profile-img">
</a>
</div>
<div class="col-md-4">
<h1 class="profile-name"> {{ site.name }}</h1>
<p class="profile-bio"> {{ site.bio }}</p>
<p class="profile-links">
<a class="social-link" href="http://twitter.com/{{ site.twitter }}">
<i class="fab fa-twitter"></i>
</a>
<a class="social-link" href="http://facebook.com/{{ site.facebook }}">
<i class="fab fa-facebook-f"></i>
</a>
<a class="social-link" href="http://instagram.com/{{ site.instagram }}">
<i class="fab fa-instagram"></i>
</a>
<a class="social-link" href="http://medium.com/@{{ site.medium }}">
<i class="fab fa-medium-m"></i>
</a>
<a class="social-link" href="http://github.com/{{ site.github }}">
<i class="fab fa-github"></i>
</a>
<a class="social-link" href="http://behance.net/{{ site.behance }}">
<i class="fab fa-behance"></i>
</a>
<a class="social-link" href="http://linkedin.com/in/{{ site.linkedin }}">
<i class="fab fa-linkedin-in"></i>
</a>
<a class="social-link" href="http://t.me/{{ site.telegram }}">
<i class="fab fa-telegram-plane"></i>
</a>
</p>

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

<ul class="nav justify-content-end" id="navigation">
<li class="nav-item">
<a class="nav-link" href="/"> RESUME </a>
</li>
<li class="nav-item">
<a class="nav-link " href="/blog">BLOG</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/contact">CONTACT ME</a>
</li>
</ul>
</div>
</div>
</div>

</header>
13 changes: 13 additions & 0 deletions _includes/share.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<div class="share-page">
Share this on &rarr;
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}&via={{ site.twitter_username }}&related={{ site.twitter_username }}"
rel="nofollow" target="_blank" title="Share on Twitter">
<img alt="Share on Facebook" src="http://www.sujaykundu.com/assets/images/flat_web_icon_set/color/Twitter.png" />
</a>
<a href="https://facebook.com/sharer.php?u={{ site.url }}{{ page.url }}" rel="nofollow" target="_blank" title="Share on Facebook">
<img alt="Share on Facebook" src="http://www.sujaykundu.com/assets/images/flat_web_icon_set/color/Facebook.png" />
</a>
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" rel="nofollow" target="_blank" title="Share on Google+">
<img alt="Share on Google+" src="http://www.sujaykundu.com/assets/images/flat_web_icon_set/color/Google+.png" />
</a>
</div>
1 change: 1 addition & 0 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h1> Sidebar </h1>
86 changes: 86 additions & 0 deletions _layouts/blog.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<!DOCTYPE html>
<html lang="en">

{%- include head.html -%}

<body>
<div class="container-fluid">

{%- include header.html -%}

<div class="col-lg-12">


<div class="row">

<div class="col-lg-8">
<ul>
{% for post in site.posts %}
<div class="card blog-post">
<img class="card-img-top" src="{{site.url}}/assets/img/blog/posts/{{ post.thumbnail }}" alt="{{ post.title }}">
<div class="card-body center">
<img src="{{site.url}}/assets/img/user/sujay.png" class="author-profile-img">
<h4 class="card-title">{{ post.title }}</h4>

<h6 class="card-subtitle mb-2 text-muted">{{ post.date | date: "%b %-d, %Y" }}</h6>
<p class="card-text">{{ post.summary }} </p>

<a href="{{ post.url | prepend: site.baseurl }}" data-disqus-identifier="{{ post.url }}" class="btn btn-primary btn-lg">Read</a>
<span class="disqus-comment-count" data-disqus-identifier="{{ post.url }}"></span>

</div>
</div>

{% endfor %}
</ul>

</div>

<div class="col-lg-4">

<div class="card">

<div class="card-header">Categories </div>
<div class="card-body text-dark">
{% for tag in site.tags %} {% capture tag_name %}{{ tag | first }}{% endcapture %}
<div id="#{{ tag_name | slugize }}"></div>
<li class="tag-head">
<a href="{{ site.baseurl }}/blog/categories/{{ tag_name }}">{{ tag_name }}</a>
</li>
<a name="{{ tag_name | slugize }}"></a>

{% endfor %}
</div>


</div>
<div class="card">
<!-- Begin MailChimp Signup Form -->
<div id="mc_embed_signup">
<form action="https://programmingebooks.us10.list-manage.com/subscribe/post?u=50bab1c85eae24ecfb0f68361&amp;id=3a2dd721d0"
method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate"
target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<label for="mce-EMAIL">Subscribe via Email :</label>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input type="text" name="b_50bab1c85eae24ecfb0f68361_3a2dd721d0" tabindex="-1" value="">
</div>
<div class="clear">
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-md btn-default">
</div>
</div>
</form>
</div>
</div>
</div>

</div>

</div>
{%- include footer.html -%}
</div>
</body>

</html>
28 changes: 28 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">

{%- include head.html -%}

<body>
<div class="container-fluid">

{%- include header.html -%}

<div class="col-lg-12">

<div class="card">



{{content}}
</div>


</div>

{%- include footer.html -%}

</div>
</body>

</html>
Loading

0 comments on commit b687ff0

Please sign in to comment.