Skip to content

Commit 5beda9e

Browse files
committed
Add initial site template
1 parent a3f872b commit 5beda9e

46 files changed

Lines changed: 4313 additions & 1 deletion

Some content is hidden

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

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source 'http://rubygems.org'
2+
3+
gem "jekyll"
4+
gem "jekyll-paginate"
5+
gem "support-for"

Gemfile.lock

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
GEM
2+
remote: http://rubygems.org/
3+
specs:
4+
addressable (2.6.0)
5+
public_suffix (>= 2.0.2, < 4.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.1.4)
8+
em-websocket (0.5.1)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7)
12+
ffi (1.10.0)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.6.0)
15+
i18n (0.9.5)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (3.8.5)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 0.7)
22+
jekyll-sass-converter (~> 1.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 1.14)
25+
liquid (~> 4.0)
26+
mercenary (~> 0.3.3)
27+
pathutil (~> 0.9)
28+
rouge (>= 1.7, < 4)
29+
safe_yaml (~> 1.0)
30+
jekyll-paginate (1.1.0)
31+
jekyll-sass-converter (1.5.2)
32+
sass (~> 3.4)
33+
jekyll-watch (2.1.2)
34+
listen (~> 3.0)
35+
kramdown (1.17.0)
36+
liquid (4.0.1)
37+
listen (3.1.5)
38+
rb-fsevent (~> 0.9, >= 0.9.4)
39+
rb-inotify (~> 0.9, >= 0.9.7)
40+
ruby_dep (~> 1.2)
41+
mercenary (0.3.6)
42+
pathutil (0.16.2)
43+
forwardable-extended (~> 2.6)
44+
public_suffix (3.0.3)
45+
rb-fsevent (0.10.3)
46+
rb-inotify (0.10.0)
47+
ffi (~> 1.0)
48+
rouge (3.3.0)
49+
ruby_dep (1.5.0)
50+
safe_yaml (1.0.4)
51+
sass (3.7.3)
52+
sass-listen (~> 4.0.0)
53+
sass-listen (4.0.0)
54+
rb-fsevent (~> 0.9, >= 0.9.4)
55+
rb-inotify (~> 0.9, >= 0.9.7)
56+
support-for (1.0.7)
57+
sass (~> 3.3)
58+
59+
PLATFORMS
60+
ruby
61+
62+
DEPENDENCIES
63+
jekyll
64+
jekyll-paginate
65+
support-for
66+
67+
BUNDLED WITH
68+
1.16.5

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) <year> <copyright holders>
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
13+
all 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
21+
THE SOFTWARE.

_config.yml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,28 @@
1-
theme: jekyll-theme-cayman
1+
title: elmurod.net
2+
description: Бешикдан то қабргача илм изла
3+
4+
url: https://elmurod.net
5+
baseurl: ""
6+
paginate_path: "blog/page:num/"
7+
permalink: blog/:title/
8+
9+
markdown: kramdown
10+
highlighter: rouge
11+
plugins: [jekyll-paginate]
12+
paginate: 5
13+
14+
navigation:
15+
- title: Home
16+
url: /index.html
17+
- title: About
18+
url: /about
19+
# - title: Contact
20+
# url: /contact
21+
22+
social:
23+
github: smartnode
24+
twitter: vorsagref
25+
facebook: elmurod.talipov
26+
email: elmurod.talipov@gmail.com
27+
28+
#google_analytics: "UA-58263416-1"

_includes/footer.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<div class="footer">
2+
<div class="container">
3+
<p class="copy">&copy; {{ site.time | date: '%Y' }} <a href="https://elmurod.net">Elmurod A. Talipov</a></p>
4+
5+
<div class="footer-links">
6+
<ul class="noList">
7+
{% if site.social.facebook %}
8+
<li><a href="https://www.facebook.com/{{ site.social.facebook }}">
9+
<svg id="facebook-square" class="custom-icon" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" style="height: 30px; width: 30px;"><circle class="outer-shape" cx="50" cy="50" r="48" style="opacity: 1;"></circle>
10+
<path class="inner-shape" style="opacity: 1;" transform="translate(25,25) scale(0.5)" d="M82.667,1H17.335C8.351,1,1,8.351,1,17.336v65.329c0,8.99,7.351,16.335,16.334,16.335h65.332 C91.652,99.001,99,91.655,99,82.665V17.337C99,8.353,91.652,1.001,82.667,1L82.667,1z M84.318,50H68.375v42.875H50V50h-8.855V35.973 H50v-9.11c0-12.378,5.339-19.739,19.894-19.739h16.772V22.3H72.967c-4.066-0.007-4.57,2.12-4.57,6.078l-0.023,7.594H86.75 l-2.431,14.027V50z"></path>
11+
</svg>
12+
</a></li>
13+
{% endif %}
14+
{% if site.social.twitter %}
15+
<li><a href="https://twitter.com/{{ site.social.twitter }}">
16+
<svg id="twitter" class="custom-icon" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" style="height: 30px; width: 30px;"><circle class="outer-shape" cx="50" cy="50" r="48" style="opacity: 1;"></circle>
17+
<path class="inner-shape" style="opacity: 1;" transform="translate(25,25) scale(0.5)" d="M99.001,19.428c-3.606,1.608-7.48,2.695-11.547,3.184c4.15-2.503,7.338-6.466,8.841-11.189 c-3.885,2.318-8.187,4-12.768,4.908c-3.667-3.931-8.893-6.387-14.676-6.387c-11.104,0-20.107,9.054-20.107,20.223 c0,1.585,0.177,3.128,0.52,4.609c-16.71-0.845-31.525-8.895-41.442-21.131C6.092,16.633,5.1,20.107,5.1,23.813 c0,7.017,3.55,13.208,8.945,16.834c-3.296-0.104-6.397-1.014-9.106-2.529c-0.002,0.085-0.002,0.17-0.002,0.255 c0,9.799,6.931,17.972,16.129,19.831c-1.688,0.463-3.463,0.71-5.297,0.71c-1.296,0-2.555-0.127-3.783-0.363 c2.559,8.034,9.984,13.882,18.782,14.045c-6.881,5.424-15.551,8.657-24.971,8.657c-1.623,0-3.223-0.096-4.796-0.282 c8.898,5.738,19.467,9.087,30.82,9.087c36.982,0,57.206-30.817,57.206-57.543c0-0.877-0.02-1.748-0.059-2.617 C92.896,27.045,96.305,23.482,99.001,19.428z"></path>
18+
</svg>
19+
</a></li>
20+
{% endif %}
21+
{% if site.social.github %}
22+
<li><a href="https://github.com/{{ site.social.github }}">
23+
<svg id="github" class="custom-icon" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" style="height: 30px; width: 30px;"><circle class="outer-shape" cx="50" cy="50" r="48" style="opacity: 1;"></circle>
24+
<path class="inner-shape" style="opacity: 1;" transform="translate(25,25) scale(0.5)" d="M50,1C22.938,1,1,22.938,1,50s21.938,49,49,49s49-21.938,49-49S77.062,1,50,1z M79.099,79.099 c-3.782,3.782-8.184,6.75-13.083,8.823c-1.245,0.526-2.509,0.989-3.79,1.387v-7.344c0-3.86-1.324-6.699-3.972-8.517 c1.659-0.16,3.182-0.383,4.57-0.67c1.388-0.287,2.855-0.702,4.402-1.245c1.547-0.543,2.935-1.189,4.163-1.938 c1.228-0.75,2.409-1.723,3.541-2.919s2.082-2.552,2.847-4.067s1.372-3.334,1.818-5.455c0.446-2.121,0.67-4.458,0.67-7.01 c0-4.945-1.611-9.155-4.833-12.633c1.467-3.828,1.308-7.991-0.478-12.489l-1.197-0.143c-0.829-0.096-2.321,0.255-4.474,1.053 c-2.153,0.798-4.57,2.105-7.249,3.924c-3.797-1.053-7.736-1.579-11.82-1.579c-4.115,0-8.039,0.526-11.772,1.579 c-1.69-1.149-3.294-2.097-4.809-2.847c-1.515-0.75-2.727-1.26-3.637-1.532c-0.909-0.271-1.754-0.439-2.536-0.503 c-0.782-0.064-1.284-0.079-1.507-0.048c-0.223,0.031-0.383,0.064-0.478,0.096c-1.787,4.53-1.946,8.694-0.478,12.489 c-3.222,3.477-4.833,7.688-4.833,12.633c0,2.552,0.223,4.889,0.67,7.01c0.447,2.121,1.053,3.94,1.818,5.455 c0.765,1.515,1.715,2.871,2.847,4.067s2.313,2.169,3.541,2.919c1.228,0.751,2.616,1.396,4.163,1.938 c1.547,0.543,3.014,0.957,4.402,1.245c1.388,0.287,2.911,0.511,4.57,0.67c-2.616,1.787-3.924,4.626-3.924,8.517v7.487 c-1.445-0.43-2.869-0.938-4.268-1.53c-4.899-2.073-9.301-5.041-13.083-8.823c-3.782-3.782-6.75-8.184-8.823-13.083 C9.934,60.948,8.847,55.56,8.847,50s1.087-10.948,3.231-16.016c2.073-4.899,5.041-9.301,8.823-13.083s8.184-6.75,13.083-8.823 C39.052,9.934,44.44,8.847,50,8.847s10.948,1.087,16.016,3.231c4.9,2.073,9.301,5.041,13.083,8.823 c3.782,3.782,6.75,8.184,8.823,13.083c2.143,5.069,3.23,10.457,3.23,16.016s-1.087,10.948-3.231,16.016 C85.848,70.915,82.88,75.317,79.099,79.099L79.099,79.099z"></path>
25+
</svg>
26+
</a></li>
27+
{% endif %}
28+
{% if site.social.email %}
29+
<li><a href="mailto:{{ site.social.email }}">
30+
<svg id="mail" class="custom-icon" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" style="height: 30px; width: 30px;"><circle class="outer-shape" cx="50" cy="50" r="48" style="opacity: 1;"></circle>
31+
<path class="inner-shape" style="opacity: 1;" transform="translate(25,25) scale(0.5)" d="M50,1C22.938,1,1,22.938,1,50s21.938,49,49,49s49-21.938,49-49S77.062,1,50,1z M25.5,25.5h49 c0.874,0,1.723,0.188,2.502,0.542L50,57.544L22.998,26.041C23.777,25.687,24.626,25.499,25.5,25.5L25.5,25.5z M19.375,68.375v-36.75 c0-0.128,0.005-0.256,0.014-0.383l17.96,20.953L19.587,69.958C19.448,69.447,19.376,68.916,19.375,68.375L19.375,68.375z M74.5,74.5 h-49c-0.541,0-1.072-0.073-1.583-0.212l17.429-17.429L50,66.956l8.653-10.096l17.429,17.429C75.572,74.427,75.041,74.5,74.5,74.5 L74.5,74.5z M80.625,68.375c0,0.541-0.073,1.072-0.211,1.583L62.652,52.195l17.96-20.953c0.008,0.127,0.014,0.255,0.014,0.383 L80.625,68.375L80.625,68.375z"></path>
32+
</svg>
33+
</a></li>
34+
{% endif %}
35+
</ul>
36+
</div>
37+
</div>
38+
</div><!-- end .footer -->
39+

_includes/google_analytics.html

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

_includes/head.html

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
<meta name="description" content="">
6+
<title>{{ page.title }}</title>
7+
8+
<!-- Open Graph Meta -->
9+
<meta content="{{ site.title }}" property="og:site_name">
10+
{% if page.title %}
11+
<meta content="{{ page.title }}" property="og:title">
12+
{% else %}
13+
<meta content="{{ site.title }}" property="og:title">
14+
{% endif %}
15+
{% if page.title %}
16+
<meta content="article" property="og:type">
17+
{% else %}
18+
<meta content="website" property="og:type">
19+
{% endif %}
20+
{% if page.description %}
21+
<meta content="{{ page.description }}" property="og:description">
22+
{% else %}
23+
<meta content="{{ site.description }}" property="og:description">
24+
{% endif %}
25+
{% if page.url %}
26+
<meta content="{{ site.url }}{{ page.url }}" property="og:url">
27+
{% endif %}
28+
{% if page.date %}
29+
<meta content="{{ page.date | date_to_xmlschema }}" property="article:published_time">
30+
<meta content="{{ site.url }}/about/" property="article:author">
31+
{% endif %}
32+
{% if page.image %}
33+
<meta content="{{ site.url }}/assets/img/{{ page.image }}" property="og:image">
34+
{% else %}
35+
<meta content="{{ '/assets/img/touring.jpg' | prepend: site.url }}" property="og:image">
36+
{% endif %}
37+
38+
<!-- Twitter Cards -->
39+
<meta name="twitter:card" content="summary">
40+
<meta name="twitter:site" content="@{{ site.social.twitter }}">
41+
<meta name="twitter:creator" content="@{{ site.social.twitter }}">
42+
{% if page.title %}
43+
<meta name="twitter:title" content="{{ page.title }}">
44+
{% else %}
45+
<meta name="twitter:title" content="{{ site.title }}">
46+
{% endif %}
47+
{% if page.url %}
48+
<meta name="twitter:url" content="{{ site.url }}{{ page.url }}">
49+
{% endif %}
50+
{% if page.description %}
51+
<meta name="twitter:description" content="{{ page.description }}">
52+
{% else %}
53+
<meta name="twitter:description" content="{{ site.description }}">
54+
{% endif %}
55+
{% if page.image %}
56+
<meta name="twitter:image:src" content="{{ site.url }}/assets/img/{{ page.image }}">
57+
{% else %}
58+
<meta name="twitter:image:src" content="{{ '/assets/img/touring.jpg' | prepend: site.url }}">
59+
{% endif %}
60+
61+
62+
<!-- Favicon -->
63+
<link rel="icon" type="image/x-icon" href="{{ "/assets/img/favicon.ico" | prepend: site.baseurl }}" />
64+
65+
<!-- Come and get me RSS readers -->
66+
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
67+
68+
<!-- Stylesheet -->
69+
<link rel="stylesheet" href="{{ "/assets/css/style.css" | prepend: site.baseurl }}">
70+
<!--[if IE 8]><link rel="stylesheet" href="{{ "/assets/css/ie.css" | prepend: site.baseurl }}"><![endif]-->
71+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
72+
73+
<!-- Modernizr -->
74+
<script src="{{ "/assets/js/modernizr.custom.15390.js" | prepend: site.baseurl }}" type="text/javascript"></script>
75+
76+
{% if site.google_analytics %} {% include google_analytics.html %} {% endif %}
77+
</head>

_includes/header.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<div class="header">
2+
<div class="container">
3+
<h1 class="logo"><a href="{{ site.baseurl }}/">{{ site.title }}</a></h1>
4+
<nav class="nav-collapse">
5+
<ul class="noList">
6+
{% for link in site.navigation %}{% assign current = nil %}{% if page.url contains link.url or forloop.first and page.url == '/' or page.url == 'index.html' %}{% assign current = 'current' %}{% endif %}
7+
<li class="element {% if forloop.first %}first{% endif %} {{ current }} {% if forloop.last %}last{% endif %}">
8+
<a href="{{ link.url | prepend: site.baseurl }}">{{ link.title }}</a>
9+
</li>
10+
{% endfor %}
11+
</ul>
12+
</nav>
13+
</div>
14+
</div><!-- end .header -->

_includes/scripts.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!-- Add jQuery and other scripts -->
2+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
3+
<script>window.jQuery || document.write('<script src="{{ \'/assets/js/jquery-1.11.2.min.js\' | prepend: site.baseurl }}"><\/script>')</script>
4+
<script src="{{ '/assets/js/dropcap.min.js' | prepend: site.baseurl }}"></script>
5+
<script src="{{ '/assets/js/responsive-nav.min.js' | prepend: site.baseurl }}"></script>
6+
<script src="{{ '/assets/js/scripts.js' | prepend: site.baseurl }}"></script>

_layouts/default.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
3+
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" <![endif]-->
4+
<!--[if IE 8]><html class="no-js lt-ie9" <![endif]-->
5+
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
6+
7+
{% include head.html %}
8+
9+
<body>
10+
11+
{% include header.html %}
12+
13+
<div class="content">
14+
<div class="container">
15+
{{ content }}
16+
</div>
17+
</div><!-- end .content -->
18+
19+
{% include footer.html %}
20+
{% include scripts.html %}
21+
22+
</body>
23+
24+
</html>

0 commit comments

Comments
 (0)