Skip to content

Commit b49a052

Browse files
committed
init
1 parent 214af5e commit b49a052

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+5879
-3
lines changed

404.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: default
3+
permalink: /404.html
4+
---
5+
<h1>404!! Page not found</h1>

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source 'https://rubygems.org'
2+
gem 'github-pages', group: :jekyll_plugins

Gemfile.lock

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
RedCloth (4.2.9)
5+
activesupport (4.2.6)
6+
i18n (~> 0.7)
7+
json (~> 1.7, >= 1.7.7)
8+
minitest (~> 5.1)
9+
thread_safe (~> 0.3, >= 0.3.4)
10+
tzinfo (~> 1.1)
11+
addressable (2.4.0)
12+
coffee-script (2.4.1)
13+
coffee-script-source
14+
execjs
15+
coffee-script-source (1.10.0)
16+
colorator (0.1)
17+
ethon (0.8.1)
18+
ffi (>= 1.3.0)
19+
execjs (2.6.0)
20+
faraday (0.9.2)
21+
multipart-post (>= 1.2, < 3)
22+
ffi (1.9.10)
23+
gemoji (2.1.0)
24+
github-pages (71)
25+
RedCloth (= 4.2.9)
26+
github-pages-health-check (= 1.1.0)
27+
jekyll (= 3.0.3)
28+
jekyll-coffeescript (= 1.0.1)
29+
jekyll-feed (= 0.5.1)
30+
jekyll-gist (= 1.4.0)
31+
jekyll-github-metadata (= 1.11.0)
32+
jekyll-mentions (= 1.1.2)
33+
jekyll-paginate (= 1.1.0)
34+
jekyll-redirect-from (= 0.10.0)
35+
jekyll-sass-converter (= 1.3.0)
36+
jekyll-seo-tag (= 1.3.3)
37+
jekyll-sitemap (= 0.10.0)
38+
jekyll-textile-converter (= 0.1.0)
39+
jemoji (= 0.6.2)
40+
kramdown (= 1.10.0)
41+
liquid (= 3.0.6)
42+
mercenary (~> 0.3)
43+
rdiscount (= 2.1.8)
44+
redcarpet (= 3.3.3)
45+
rouge (= 1.10.1)
46+
terminal-table (~> 1.4)
47+
github-pages-health-check (1.1.0)
48+
addressable (~> 2.3)
49+
net-dns (~> 0.8)
50+
octokit (~> 4.0)
51+
public_suffix (~> 1.4)
52+
typhoeus (~> 0.7)
53+
html-pipeline (2.4.0)
54+
activesupport (>= 2, < 5)
55+
nokogiri (>= 1.4)
56+
i18n (0.7.0)
57+
jekyll (3.0.3)
58+
colorator (~> 0.1)
59+
jekyll-sass-converter (~> 1.0)
60+
jekyll-watch (~> 1.1)
61+
kramdown (~> 1.3)
62+
liquid (~> 3.0)
63+
mercenary (~> 0.3.3)
64+
rouge (~> 1.7)
65+
safe_yaml (~> 1.0)
66+
jekyll-coffeescript (1.0.1)
67+
coffee-script (~> 2.2)
68+
jekyll-feed (0.5.1)
69+
jekyll-gist (1.4.0)
70+
octokit (~> 4.2)
71+
jekyll-github-metadata (1.11.0)
72+
octokit (~> 4.0)
73+
jekyll-mentions (1.1.2)
74+
html-pipeline (~> 2.3)
75+
jekyll (~> 3.0)
76+
jekyll-paginate (1.1.0)
77+
jekyll-redirect-from (0.10.0)
78+
jekyll (>= 2.0)
79+
jekyll-sass-converter (1.3.0)
80+
sass (~> 3.2)
81+
jekyll-seo-tag (1.3.3)
82+
jekyll (~> 3.0)
83+
jekyll-sitemap (0.10.0)
84+
jekyll-textile-converter (0.1.0)
85+
RedCloth (~> 4.0)
86+
jekyll-watch (1.3.1)
87+
listen (~> 3.0)
88+
jemoji (0.6.2)
89+
gemoji (~> 2.0)
90+
html-pipeline (~> 2.2)
91+
jekyll (>= 3.0)
92+
json (1.8.1)
93+
kramdown (1.10.0)
94+
liquid (3.0.6)
95+
listen (3.0.6)
96+
rb-fsevent (>= 0.9.3)
97+
rb-inotify (>= 0.9.7)
98+
mercenary (0.3.6)
99+
mini_portile2 (2.0.0)
100+
minitest (5.4.3)
101+
multipart-post (2.0.0)
102+
net-dns (0.8.0)
103+
nokogiri (1.6.7.2)
104+
mini_portile2 (~> 2.0.0.rc2)
105+
octokit (4.3.0)
106+
sawyer (~> 0.7.0, >= 0.5.3)
107+
public_suffix (1.5.3)
108+
rb-fsevent (0.9.7)
109+
rb-inotify (0.9.7)
110+
ffi (>= 0.5.0)
111+
rdiscount (2.1.8)
112+
redcarpet (3.3.3)
113+
rouge (1.10.1)
114+
safe_yaml (1.0.4)
115+
sass (3.4.22)
116+
sawyer (0.7.0)
117+
addressable (>= 2.3.5, < 2.5)
118+
faraday (~> 0.8, < 0.10)
119+
terminal-table (1.5.2)
120+
thread_safe (0.3.5)
121+
typhoeus (0.8.0)
122+
ethon (>= 0.8.0)
123+
tzinfo (1.2.2)
124+
thread_safe (~> 0.1)
125+
126+
PLATFORMS
127+
ruby
128+
129+
DEPENDENCIES
130+
github-pages
131+
132+
BUNDLED WITH
133+
1.11.2

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Agus Makmun
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,21 @@
1-
# hcz-jekyll-blog
2-
A simple material theme for blogger.
1+
## My Stack Problems
2+
3+
> This project forked and has been modified from [A simple grey theme for Jekyll](https://github.com/liamsymonds/simplygrey-jekyll), and the search posts using [Super Search](https://github.com/chinchang/super-search)
4+
5+
### Demo
6+
* [https://agusmakmun.github.io](https://agusmakmun.github.io)
7+
8+
#### Feature
9+
10+
* Sitemap and XML Feed
11+
* Paginations in homepage
12+
* Posts under category
13+
* Realtime Search Posts _(title & description)_ under query.
14+
* Related Posts
15+
* Highlight pre
16+
* Next & Previous Post
17+
* Disqus comment
18+
19+
#### Screenshot
20+
21+
![Screenshot Post Page](https://raw.githubusercontent.com/agusmakmun/agusmakmun.github.io/master/static/img/screenshot-post-page.png "Screenshot Post Page")

_config.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
title: John Smith
2+
description: My Personal Blog
3+
author: John Smith
4+
logo: /static/img/avatar.png
5+
github: https://github.com/ashutosh2k12
6+
about: Freelance developer
7+
disqus_shortname: aboutashu
8+
google_analytics: UA-72862926-1
9+
urls:
10+
- text: Home
11+
url: /
12+
icon: fa-home
13+
layout: post
14+
- text: About
15+
url: /about/
16+
icon: fa-comments
17+
- text: Projects
18+
url: /projects/
19+
icon: fa-desktop
20+
- text: Resume
21+
url: \#
22+
icon: fa-graduation-cap
23+
- text: Github
24+
url: https://github.com/ashutosh2k12
25+
icon: fa-github
26+
- text: XML Feed
27+
url: /feed.xml
28+
icon: fa-feed
29+
30+
social:
31+
- icon: fa-facebook
32+
link: \#
33+
- icon: fa-skype
34+
link: \#
35+
- icon: fa-twitter
36+
link: \#
37+
- icon: fa-linkedin
38+
link: \#
39+
- icon: fa-stack-exchange
40+
link: \#
41+
42+
share:
43+
twitter_username: \#
44+
fb_appid: 000000000000
45+
46+
47+
enableTags: true
48+
tagarray: []
49+
50+
url: "http://aboutashu.com/hcz-jekyll-blog"
51+
baseurl: ""
52+
paginate: 20
53+
per_page: 20
54+
paginate_path: "/page:num/"
55+
markdown: kramdown
56+
gems:
57+
- jekyll-paginate
58+
- jekyll-gist

_data/projects.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[
2+
{
3+
"name": "Cool project 1",
4+
"image": "placeholder.jpg",
5+
"url": "#",
6+
"date": "Jan 2014",
7+
"tags": ["Angular JS","API"]
8+
},
9+
{
10+
"name": "Cool project 2",
11+
"image": "placeholder.jpg",
12+
"url": "#",
13+
"date": "May 2014",
14+
"tags": ["Android","PHP"]
15+
},
16+
{
17+
"name": "Cool project 3",
18+
"image": "placeholder.jpg",
19+
"url": "#",
20+
"date": "June 2014",
21+
"tags": ["HTML","JQuery","PHP"]
22+
},
23+
{
24+
"name": "Cool project 4",
25+
"image": "placeholder.jpg",
26+
"date": "Oct 2016",
27+
"tags": ["Android","nodejs"]
28+
}
29+
30+
]

_includes/analytics.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<script>
2+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6+
7+
ga('create', '{{ site.google_analytics }}', 'auto');
8+
ga('send', 'pageview');
9+
10+
</script>

_includes/navigation.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<ul class="list-separator nav navbar-nav well well-primary {{ page.layout }}">
2+
{% for i in site.urls %}
3+
{% assign current = nil %}
4+
{% if page.url == i.url or page.layout == i.layout %} {% assign current = 'current-menu-item' %} {% endif %}
5+
<li class="col-lg-12 col-md-12 col-sm-4 col-xs-12 {{ current }}"><a href="{{ i.url }}"><i class="fa {{ i.icon }}"></i> {{ i.text }}</a></li>
6+
{% endfor %}
7+
</ul>

_includes/project_tags.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{% if site.enableTags == true %}
2+
<div id="tag-filter" class="col-md-12 col-xs-12 tag-group">
3+
<span class="label label-primary tag-filter tag-cloud all">All</span>
4+
{% assign tagarray = site.tagarray %}
5+
{% for project in site.data.projects %}
6+
{% for tag in project.tags %}
7+
{% assign tagarray = tagarray | push: tag %}
8+
{% endfor %}
9+
{% endfor %}
10+
11+
{% assign tags = tagarray[1] %}
12+
{% for item in tagarray %}
13+
{% assign tagDown = item | downcase %}
14+
{% assign tagComp = tags | downcase %}
15+
{% unless tagComp contains tagDown %}
16+
{% capture tags %}{{ tags }}|{{ item }}{% endcapture %}
17+
{% endunless %}
18+
{% endfor %}
19+
20+
{% assign taglist = tags | split: '|' | sort %}
21+
{% for tag in taglist %}
22+
<span class="label tag-filter tag-cloud" data-tag="{{ tag | downcase }}">{{ tag }}</span>
23+
{% endfor %}
24+
</div>
25+
{% endif %}

_includes/share-page.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<div class="share-page">
2+
Share this on &rarr;
3+
<a href="https://twitter.com/share" class="twitter-share-button" data-via="{{ site.share.twitter_username }}">Tweet</a>
4+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
5+
6+
<!-- Google + -->
7+
<div class="g-plus" data-action="share" data-annotation="bubble"></div>
8+
<script src="https://apis.google.com/js/platform.js" async defer></script>
9+
10+
<!-- Facebook -->
11+
<div class="fb-share-button" data-href="{{site.url}}{{page.url}}" data-layout="button_count" style="position: relative; top: -8px; left: 3px;"></div>
12+
</div>
13+
<div id="fb-root"></div>
14+
<script>(function(d, s, id) {
15+
var js, fjs = d.getElementsByTagName(s)[0];
16+
if (d.getElementById(id)) return;
17+
js = d.createElement(s); js.id = id;
18+
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.6&appId={{ site.share.fb_appid }}";
19+
fjs.parentNode.insertBefore(js, fjs);
20+
}(document, 'script', 'facebook-jssdk'));</script>

_includes/sidemenu.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<nav class="menu">
2+
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
3+
{% include navigation.html %}
4+
</div>
5+
</nav>

_includes/social_links.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="social-icons">
2+
{% for link in site.social %}
3+
<a class="icon" target="_blank" href="{{ link.link }}"><i class="fa {{ link.icon }}"></i></a>
4+
{% endfor %}
5+
</div>

0 commit comments

Comments
 (0)