Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Hossain Mohd. Faysal committed Jul 18, 2014
1 parent 775b766 commit 4720f6e
Show file tree
Hide file tree
Showing 52 changed files with 13,163 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_site
14 changes: 14 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
layout: page
title: "PAGE NOT FOUND"
description: "Page not found. Your pixels are in another canvas."
image:
feature: sangeh-monkey-forest-10.jpg
---
<img src="{{ site.url }}/images/hmfaysal-404.jpg" alt="{{ page.title }} at {{ site.title }}">

<div class="text-center">
<h1>I am sorry</h1>
<p>The Adorable Monkey has eaten the page you are looking for,
please try one of the links above instead</p>
</div>
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2014 Hossain Mohd Faysal <[email protected]>
http://hmfaysal.github.io

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.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Notepad is a Jekyll theme which is very simple, clean and beautiful. This theme is good for any blog.

Main Features:

* Zurb Foundation 5 – css framework
* Scss files with settings file
* Fullscreen post covers with header wich will be bright or dark according to background image
* Fast and light
* Font Awesome
* Disqus comments integration
Y
ou can set post image covers by using only Kramdown narkdown, just place something like this: ![cover-image](http://path-to-your-image.jpg)

Credits:

* Zurb Foundation 5 http://foundation.zurb.com/
* Font Awesome http://fontawesome.io
* Google fonts http://www.google.com/fonts
* Background check http://kennethcachia.com/background-check
* Codrops article: http://tympanus.net/codrops/2014/05/22/inspiration-for-article-intro-effects/
* There are also tools like jQuery, Modernizr, Normalize.

If you'd like to give me credit somewhere on your blog or tweet a shout out to [@hmfaysal](https://twitter.com/hmfaysal), that would be pretty sweet.


Warm Regards and Stay Creative,
Hossain Mohd. Faysal
156 changes: 156 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
title: Notepad
description: "Blogging is fun"
logo: logo3.png
disqus_shortname: hmfaysal
share: true
# Change url to your domain. Leave localhost server or blank when working locally.
# or use the hint from http://jekyllrb.com/docs/github-pages/ to keep this the same
# whether working locally or remotely. Start Jekyll with: jekyll serve --baseurl ''
#url: http://hmfaysal.github.io

# Owner/author information
owner:
name: Your Name
avatar: hmfaysal.jpg
email: [email protected]
# Use the coder's toolbox at http://coderstoolbox.net/string/#!encoding=xml&action=encode&charset=us_ascii to encode your description into XML string
description: Awesome Dude, Awesome Life
# Social networking links used in footer. Update and remove as you like.
twitter: hmfaysal
facebook: hmfaysal
github: hmfaysal
instagram: hmfaysal
# For Google Authorship https://plus.google.com/authorship
google_plus: https://plus.google.com/u/0/102602916593522619858

# Analytics and webmaster tools stuff goes here
google_analytics:
google_verify:
# https://ssl.bing.com/webmaster/configure/verify/ownership Option 2 content= goes here
bing_verify:

# Links to include in footer navigation
# For external links add external: true
links:
- title: Home
url: /
external: false
icon: home
- title: Featured Posts
url: /featured
- title: Categories
url: /categories
- title: About
url: /hossain-mohd-faysal

# http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
timezone: America/New_York
future: true
highlighter: pygments
markdown: kramdown
paginate: 5
paginate_path: "page:num"

# https://github.com/mojombo/jekyll/wiki/Permalinks
permalink: /:categories/:title

kramdown:
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
use_coderay: false

coderay:
coderay_line_numbers:
coderay_line_numbers_start: 1
coderay_tab_width: 4
coderay_bold_every: 10
coderay_css: class

prose:
rooturl: '_posts'
siteurl: 'http://hmfaysal.github.io/'
relativeLinks: 'http://hmfaysal.github.io/links.jsonp'
media: 'images'
metadata:
_posts:
- name: "published"
field:
label: "Published"
element: "checkbox"
value: "true"
- name: "layout"
field:
element: "hidden"
label: "Layout"
value: "post"
- name: "title"
field:
label: "Title"
element: "text"
value: "An Awesome Headline!"
- name: "description"
field:
element: "text"
label: "Description"
placeholder: "Enter Post Description"
- name: "headline"
field:
element: "text"
label: "beadline"
placeholder: "Enter Post Headline"
- name: "modified"
field:
element: "text"
label: "Has this page been modified?"
placeholder: "YYYY-MM-DD"
- name: "categories"
field:
element: "multiselect"
label: "Add categories"
placeholder: "Choose categories"
value: personal
options:
- name: "Personal"
value: personal
- name: "Engineering"
value: engineering
- name: "Physics"
value: physics
- name: "Psychology"
value: psychology
- name: "Interesting"
value: interesting
- name: "Web-Development"
value: webdevelopment
alterable: true
- name: "tags"
field:
element: "text"
label: "Tags"
placeholder: "Enter tags, separated by spaces"
- name: "imagefeature"
field:
element: "text"
label: "Featured Image"
placeholder: "somefile.jpg"
- name: "mathjax"
field:
element: "checkbox"
label: "MathJax"
value: false
- name: "featured"
field:
element: "checkbox"
label: "Featured?"
value: false
- name: "comments"
field:
element: "checkbox"
label: "Comments"
value: false


include: [".htaccess"]
exclude: ["lib", "config.rb", "Gemfile", "Capfile", "Gemfile.lock", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules"]
1 change: 1 addition & 0 deletions _includes/browser-upgrade.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!--[if lt IE 9]><div class="upgrade"><strong><a href="http://whatbrowser.org/">Your browser is quite old!</strong> Why not upgrade to a different browser to better enjoy this site?</a></div><![endif]-->
20 changes: 20 additions & 0 deletions _includes/disqus_comments.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.disqus_shortname }}'; // required: replace example with your forum shortname

/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();

/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
51 changes: 51 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<footer class="summer-site-footer">
<div class="copyright">
<section>All content copyright <a href="{{ site.url }}">{{ site.owner.name }}</a> &copy; {{ site.time | date: '%Y' }} &bull; All rights reserved.</section>
<section>Proudly published with <a class="icon-ghost" href="https://jekyllrb.com/">Jekyll</a></section>
</div>
<div class="social-icons">

{% if site.owner.twitter %}
<a href="http://twitter.com/{{ site.owner.twitter }}">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x fa-inverse"></i>
<i class="fa fa-twitter fa-stack-1x"></i>
</span>
</a>
{% endif %}
{% if site.owner.google_plus %}
<a href="{{ site.owner.google_plus }}">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x fa-inverse"></i>
<i class="fa fa-google-plus fa-stack-1x"></i>
</span>
</a>
{% endif %}
{% if site.owner.instagram %}
<a href="http://instagram.com/{{ site.owner.instagram }}">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x fa-inverse"></i>
<i class="fa fa-instagram fa-stack-1x"></i>
</span>
</a>
{% endif %}
{% if site.owner.github %}
<a href="http://github.com/{{ site.owner.github }}">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x fa-inverse"></i>
<i class="fa fa-github fa-stack-1x"></i>
</span>
</a>
{% endif %}
{% if site.owner.facebook %}
<a href="http://facebook.com/{{ site.owner.facebook }}">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x fa-inverse"></i>
<i class="fa fa-facebook fa-stack-1x"></i>
</span>
</a>
{% endif %}
</div>

<div class="cf"></div>
</footer>
89 changes: 89 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<meta charset="utf-8">
<title>{% if page.title %}{{ page.title | upcase }}{% else %}{{ site.title | upcase }}{% endif %}</title>
<meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
{% if page.tags %}<meta name="keywords" content="{{ page.tags | join: ', ' }}">{% endif %}

{% if site.owner.twitter %}<!-- Twitter Cards -->
{% if page.imagefeature %}<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{{ site.url }}/images/{{ page.imagefeature }}">
{% else %}<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/{{ site.logo }}{% endif %}">{% endif %}
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
<meta name="twitter:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
<meta name="twitter:creator" content="@{{ site.owner.twitter }}">{% endif %}

<!-- Open Graph -->
<meta property="og:locale" content="en_US">
<meta property="og:type" content="article">
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
<meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
<meta property="og:site_name" content="{{ site.title }}">
{% if page.imagefeature %}<meta property="og:image" content="{{ site.url }}/images/{{ page.imagefeature }}">{% else %}<meta property="og:image" content="{{ site.url }}/images/{{ site.default_bg }}">{% endif %}

{% if site.google_verify %}<meta name="google-site-verification" content="{{ site.google_verify }}">{% endif %}
{% if site.bing_verify %}<meta name="msvalidate.01" content="{{ site.bing_verify }}">{% endif %}

{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
<link rel="canonical" href="{{ canonical }}">
<link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
{% if site.owner.google_plus %}<link rel="author" href="{{ site.owner.google_plus }}?rel=author">{% endif %}

<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />


<link href='http://fonts.googleapis.com/css?family=Montserrat:400,700&amp;subset=latin,latin-ext' rel='stylesheet'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,700,800,600&amp;subset=latin,latin-ext' rel='stylesheet'>
<link rel="stylesheet" href="{{ site.url }}/assets/css/font-awesome.min.css">
<link rel="stylesheet" href="{{ site.url }}/assets/css/vendor/normalizeb146.css?v=77a7756db2">
<link rel="stylesheet" href="{{ site.url }}/assets/css/vendor/foundation.minb146.css?v=77a7756db2">
<link rel="stylesheet" href="{{ site.url }}/assets/css/styleb146.css?v=77a7756db2">
<link rel="stylesheet" href="{{ site.url }}/assets/css/postb146.css?v=77a7756db2">
<script src="{{ site.url }}/assets/js/vendor/modernizrb146.js?v=77a7756db2"></script>


{% if page.mathjax %}
<!--Load Mathjax-->
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script>
MathJax.Hub.Config({
config: ["MMLorHTML.js"],
extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],
jax: ["input/TeX"],
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: false
},
TeX: {
TagSide: "right",
TagIndent: ".8em",
MultLineWidth: "85%",
equationNumbers: {
autoNumber: "AMS",
},
unicode: {
fonts: "STIXGeneral,'Arial Unicode MS'"
}
},
showProcessingMessages: false
});
</script>{% endif %}


<!-- Icons -->
<!-- 16x16 -->
<link rel="shortcut icon" href="{{ site.url }}/favicon.ico">
<!-- 32x32 -->
<link rel="shortcut icon" href="{{ site.url }}/favicon.png">
<!-- 57x57 (precomposed) for iPhone 3GS, pre-2011 iPod Touch and older Android devices -->
<link rel="apple-touch-icon-precomposed" href="{{ site.url }}/images/apple-touch-icon-precomposed.png">
<!-- 72x72 (precomposed) for 1st generation iPad, iPad 2 and iPad mini -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ site.url }}/images/apple-touch-icon-72x72-precomposed.png">
<!-- 114x114 (precomposed) for iPhone 4, 4S, 5 and post-2011 iPod Touch -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ site.url }}/images/apple-touch-icon-114x114-precomposed.png">
<!-- 144x144 (precomposed) for iPad 3rd and 4th generation -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.url }}/images/apple-touch-icon-144x144-precomposed.png">
Loading

0 comments on commit 4720f6e

Please sign in to comment.