forked from sujaykundu777/devlopr-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c021edf
commit 36c2e9c
Showing
36 changed files
with
259 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,18 +56,115 @@ The theme is available as open source under the terms of the [MIT License](https | |
|
||
`{{site.variable}}` | ||
|
||
title, description, name , bio | ||
# _config.yml configuration ( Copy and Edit accordingly ) | ||
|
||
twitter_username, facebook_username, medium_username , telegram_username, behance_username, github_username , | ||
instagram_username | ||
``` | ||
title: Your Site Title | ||
subtitle: Your Site Subtitle | ||
description: >- # this means to ignore newlines until "baseurl:" | ||
Write an awesome description for your new site here. You can edit this | ||
line in _config.yml. It will appear in your document head meta (for | ||
Google search results) and in your feed.xml site description. | ||
baseurl: "" # the subpath of your site, e.g. /blog | ||
url: "" # the base hostname & protocol for your site, e.g. http://example.com | ||
|
||
author_logo: profile.png | ||
disqus_shortname: sujay-kundu #for comments using disqus | ||
author: Your Name | ||
author_bio: Something About You for about me | ||
author_email: "[email protected]" | ||
author_location: Your Location | ||
author_website_url: "https://yourwebsite.com" | ||
|
||
# social links | ||
twitter_username: yourusername | ||
github_username: yourusername | ||
facebook_username: yourusername | ||
linkedin_username: yourusername | ||
behance_username: yourusername | ||
instagram_username: yourusername | ||
medium_username: yourusername | ||
telegram_username: yourusername | ||
dribbble_username: yourusername | ||
flickr_username: yourusername | ||
``` | ||
# Add blog section | ||
Create a new file blog.md file with following content | ||
Create a new file blog.md file with following front yaml inside it. | ||
``` | ||
--- | ||
layout: blog | ||
title: Blog | ||
permalink: \blog\ | ||
``` | ||
permalink: \blog\ | ||
--- | ||
``` | ||
# Post Yaml Format ( Example Below ) : | ||
``` | ||
--- | ||
layout: post | ||
title: How to use docker compose | ||
categories: | ||
- web-development | ||
- docker | ||
summary: Learn how to use docker compose | ||
thumbnail: docker-compose.png | ||
author: Sujay Kundu | ||
--- | ||
``` | ||
# Adding Categories | ||
For Adding Categories create new folder categories and inside that create a file `all.md` and copy the below code in that : | ||
``` | ||
--- | ||
layout: page | ||
permalink: /blog/categories/ | ||
--- | ||
|
||
<div id="categories"> | ||
{% for tag in site.categories %} | ||
<div class="category-box" > | ||
{% capture tag_name %}{{ tag | first }}{% endcapture %} | ||
<div id="#{{ tag_name | slugize }}"></div> | ||
<h4 class="tag-head"><a href="{{ site.baseurl }}/blog/categories/{{ tag_name }}">{{ tag_name }}</a></h4> | ||
<a name="{{ tag_name | slugize }}"></a> | ||
{% for post in site.tags[tag_name] %} | ||
<article class="center"> | ||
<h6 ><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></h6> | ||
</article> | ||
|
||
|
||
{% endfor %} | ||
|
||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
``` | ||
# Individual Categories | ||
If you want to show all posts of a particular category, create a new file for that category inside categories folder | ||
For example ( angularjs.md ) | ||
``` | ||
--- | ||
layout: page | ||
permalink: /blog/categories/angularjs | ||
--- | ||
|
||
<div class="card"> | ||
{% for post in site.categories.angularjs %} | ||
<li class="category-posts"><span>{{ post.date | date_to_string }}</span> <a href="{{ post.url }}">{{ post.title }}</a></li> | ||
{% endfor %} | ||
</div> | ||
|
||
|
||
``` | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
title: Using Git Like Pro | ||
layout: post | ||
summary: Learn how to use all git commands | ||
categories: | ||
- git | ||
- web-development | ||
thumbnail: gitflow-workflow.png | ||
author: Sujay Kundu | ||
--- | ||
|
||
# Useful git commands | ||
|
||
Remove a remote origin for the project | ||
|
||
``` | ||
$ git remote -v | ||
``` | ||
|
||
View current remotes | ||
|
||
``` | ||
origin https://github.com/OWNER/REPOSITORY.git (fetch) | ||
origin https://github.com/OWNER/REPOSITORY.git (push) | ||
destination https://github.com/FORKER/REPOSITORY.git (fetch) | ||
destination https://github.com/FORKER/REPOSITORY.git (push) | ||
``` | ||
|
||
``` | ||
$ git remote rm origin | ||
``` | ||
|
||
`$ git remote rm destination` | ||
|
||
Add a remote origin for the project | ||
|
||
`$ git remote add origin https://github.com/OWNER/REPOSITORY.git` | ||
|
||
Check current remotes | ||
|
||
``` | ||
origin https://github.com/OWNER/REPOSITORY.git (fetch) | ||
origin https://github.com/OWNER/REPOSITORY.git (push) | ||
``` | ||
|
||
|
||
Push a new local branch to a remote Git repository and track it too | ||
|
||
Create a new branch: | ||
``` | ||
git checkout -b feature_branch_name | ||
``` | ||
|
||
Edit, add and commit your files. | ||
|
||
Push your branch to the remote repository: | ||
|
||
``` | ||
git push -u origin feature_branch_name | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.68 MB
assets/img/projects/screencapture-file-C-Users-Sujay-20Kundu-Downloads-Co.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
layout: page | ||
permalink: /blog/categories/ | ||
--- | ||
|
||
|
||
<h3> {{ page.title }} </h3> | ||
|
||
<div id="categories"> | ||
{% for tag in site.categories %} | ||
<div class="category-box" > | ||
{% capture tag_name %}{{ tag | first }}{% endcapture %} | ||
<div id="#{{ tag_name | slugize }}"></div> | ||
<h4 class="tag-head"><a href="{{ site.baseurl }}/blog/categories/{{ tag_name }}">{{ tag_name }}</a></h4> | ||
<a name="{{ tag_name | slugize }}"></a> | ||
{% for post in site.tags[tag_name] %} | ||
<article class="center"> | ||
<h6 ><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></h6> | ||
</article> | ||
|
||
|
||
{% endfor %} | ||
|
||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: page | ||
permalink: /blog/categories/git | ||
--- | ||
|
||
<h3> Posts by Category : {{ page.title }} </h3> | ||
|
||
<div class="card"> | ||
{% for post in site.categories.git %} | ||
<li class="category-posts"><span>{{ post.date | date_to_string }}</span> <a href="{{ post.url }}">{{ post.title }}</a></li> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: page | ||
permalink: /blog/categories/jekyll | ||
--- | ||
|
||
<h3> Posts by Category : {{ page.title }} </h3> | ||
|
||
<div class="card"> | ||
{% for post in site.categories.jekyll %} | ||
<li class="category-posts"><span>{{ post.date | date_to_string }}</span> <a href="{{ post.url }}">{{ post.title }}</a></li> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: page | ||
permalink: /blog/categories/web-development | ||
--- | ||
|
||
<h3> Posts by Category : {{ page.title }} </h3> | ||
|
||
<div class="card"> | ||
{% for post in site.categories.web-development %} | ||
<li class="category-posts"><span>{{ post.date | date_to_string }}</span> <a href="{{ post.url }}">{{ post.title }}</a></li> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
Gem::Specification.new do |spec| | ||
spec.name = "devlopr" | ||
spec.version = "0.1.9" | ||
spec.version = "0.2.0" | ||
spec.authors = ["Sujay Kundu"] | ||
spec.email = ["[email protected]"] | ||
|
||
|