Skip to content

Commit

Permalink
profile picture can be changed from _config file
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaykundu777 committed Jul 4, 2018
1 parent fe29591 commit 95b0e11
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions sample_config.yml → _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ description: >- # this means to ignore newlines until "baseurl:"
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com

author_logo: site-logo.png
author_logo: profile.png
disqus_shortname: shortname
author: Your Name
author_bio: Hi I am a full stack web developer and freelancer based in India. I enjoy experimenting with new technologies and love anything related to hacking. I tend to follow startup scenes and also enjoy gaming.
author_bio: Something About You for about me
author_email: "[email protected]"
author_location: Your Location
author_website_url: "https://yourwebsite.com"
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="row">
<div class="col-md-2 center">
<a href="{{ site.url }}">
<img src="{{ site.url }}/assets/images/profile.png" class="profile-img">
<img src="{{ site.url }}/assets/images/{{ site.author_logo }}" class="profile-img">
</a>
</div>
<div class="col-md-4">
Expand Down
4 changes: 3 additions & 1 deletion _layouts/blog.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
--- layout: default ---
---
layout: default
---

<div class="row">

Expand Down
8 changes: 5 additions & 3 deletions devlopr.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@

Gem::Specification.new do |spec|
spec.name = "devlopr"
spec.version = "0.1.6"
spec.version = "0.1.7"
spec.authors = ["Sujay Kundu"]
spec.email = ["[email protected]"]

spec.summary = %q{ A Theme built for developers }
spec.homepage = "https://www.sujaykundu.com"
spec.license = "MIT"

spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README)!i) }

spec.files = `git ls-files -z`.split("\x0").select do |f|
f.match(%r!^(assets|_(includes|layouts|sass)/|(LICENSE|README)((\.(txt|md|markdown)|$)))!i)
end

spec.add_runtime_dependency "jekyll", "~> 3.8"

spec.add_development_dependency "bundler", "~> 1.16"
Expand Down

0 comments on commit 95b0e11

Please sign in to comment.