Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
_site | ||
.DS_Store | ||
.jekyll | ||
.jekyll-metadata | ||
.bundle | ||
.sass-cache | ||
Gemfile | ||
Gemfile.lock | ||
node_modules | ||
package.json |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: page | ||
title: 404 - Page not found | ||
--- | ||
|
||
Sorry, we can't find that page that you're looking for. You can try again by going [back to the homepage]({{ site.baseurl }}/). | ||
|
||
[<img src="{{ site.baseurl }}/images/404.jpg" alt="Constructocat by https://github.com/jasoncostello" style="width: 400px;"/>]({{ site.baseurl }}/) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
masterandrey.com |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2017 Andrey Sorokin | ||
|
||
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. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# masterandrey.com | ||
masterandrey.com site | ||
My personal blog http://masterandrey.com | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
# | ||
# This file contains configuration flags to customize your site | ||
# | ||
|
||
# Name of your site (displayed in the header) | ||
name: Master Andrey | ||
|
||
# Short bio or description (displayed in the header) | ||
description: Always in state of wonder | ||
|
||
# URL of your avatar or profile pic (you could use your GitHub profile pic) | ||
avatar: https://avatars1.githubusercontent.com/u/1568089?v=3&u=f360ac3b8d7f85dd2a2e457ea4efaf1b2bb1a2f9&s=400 | ||
|
||
# | ||
# Flags below are optional | ||
# | ||
|
||
# Includes an icon in the footer for each username you enter | ||
footer-links: | ||
dribbble: | ||
email: anso@mail.ru | ||
facebook: | ||
flickr: | ||
github: masterandrey | ||
instagram: | ||
linkedin: masterandrey | ||
pinterest: | ||
rss: # just type anything here for a working RSS icon | ||
twitter: andreyamoney | ||
stackoverflow: "users/4790975/masterandrey" | ||
youtube: # channel/<your_long_string> or user/<user-name> | ||
googleplus: # anything in your profile username that comes after plus.google.com/ | ||
|
||
|
||
# Enter your Disqus shortname (not your username) to enable commenting on posts | ||
# You can find your shortname on the Settings page of your Disqus account | ||
disqus: masterandrey-com | ||
|
||
# Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking | ||
google_analytics: UA-90467095-1 | ||
|
||
# Your website URL (e.g. http://barryclark.github.io or http://www.barryclark.co) | ||
# Used for Sitemap.xml and your RSS feed | ||
url: http:/masterandrey.com | ||
|
||
# If you're hosting your site at a Project repository on GitHub pages | ||
# (http://yourusername.github.io/repository-name) | ||
# and NOT your User repository (http://yourusername.github.io) | ||
# then add in the baseurl here, like this: "/repository-name" | ||
baseurl: "" | ||
|
||
# | ||
# !! You don't need to change any of the configuration flags below !! | ||
# | ||
|
||
permalink: /:title/ | ||
|
||
# The release of Jekyll Now that you're using | ||
version: v1.2.0 | ||
|
||
# Jekyll 3 now only supports Kramdown for Markdown | ||
kramdown: | ||
# Use GitHub flavored markdown, including triple backtick fenced code blocks | ||
input: GFM | ||
# Jekyll 3 and GitHub Pages now only support rouge for syntax highlighting | ||
syntax_highlighter: rouge | ||
syntax_highlighter_opts: | ||
# Use existing pygments syntax highlighting css | ||
css_class: 'highlight' | ||
|
||
# Set the Sass partials directory, as we're using @imports | ||
sass: | ||
style: :expanded # You might prefer to minify using :compressed | ||
|
||
# Use the following plug-ins | ||
gems: | ||
- jekyll-sitemap # Create a sitemap using the official Jekyll sitemap gem | ||
- jekyll-feed # Create an Atom feed using the official Jekyll feed gem | ||
|
||
# Exclude these files from your production _site | ||
exclude: | ||
- Gemfile | ||
- Gemfile.lock | ||
- LICENSE | ||
- README.md | ||
- CNAME | ||
|
||
t: | ||
en: | ||
home: | ||
name: "Blog" | ||
url: "/" | ||
about: | ||
name: "About" | ||
url: "/about/" | ||
tags: | ||
name: "Tags" | ||
url: "/tags" | ||
ru: | ||
home: | ||
name: "Блог" | ||
url: "/index_ru/" | ||
about: | ||
name: "Обо мне" | ||
url: "/about_ru/" | ||
tags: | ||
name: "Тэги" | ||
url: "/tags_ru" | ||
|
||
lang_names: | ||
en: "English" | ||
ru: "Русский" | ||
|
||
search: | ||
en: "Search on the site..." | ||
ru: "Поиск по сайту..." |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% if site.google_analytics %} | ||
<!-- Google Analytics --> | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | ||
|
||
ga('create', '{{ site.google_analytics }}', 'auto'); | ||
ga('send', 'pageview', { | ||
'page': '{{ site.baseurl }}{{ page.url }}', | ||
'title': '{{ page.title | replace: "'", "\\'" }}' | ||
}); | ||
</script> | ||
<!-- End Google Analytics --> | ||
{% endif %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="/vendor/font-awesome/latest/css/font-awesome.css" rel="stylesheet"> | ||
<link href="/vendor/google-code-prettify/google-code-prettify/prettify.css" rel="stylesheet"> | ||
<link href="/assets/css/main.css" rel="stylesheet"> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | ||
<script type="text/javascript" src="/vendor/google-code-prettify/google-code-prettify/prettify.js"></script> | ||
<script async defer src="https://buttons.github.io/buttons.js"></script> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{% if site.disqus %} | ||
<div class="comments"> | ||
<div id="disqus_thread"></div> | ||
<script type="text/javascript"> | ||
|
||
var disqus_shortname = '{{ site.disqus }}'; | ||
|
||
(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); | ||
})(); | ||
|
||
</script> | ||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> | ||
</div> | ||
{% endif %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title> | ||
|
||
<meta charset="utf-8" /> | ||
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'> | ||
<meta property="og:locale" content="{% if page.locale %}{{ page.locale }}{% else %}{{ site.locale }}{% endif %}"> | ||
<meta http-equiv='X-UA-Compatible' content='IE=edge'> | ||
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'> | ||
|
||
{% if page.excerpt %} | ||
<meta name="description" content="{{ page.excerpt| strip_html }}" /> | ||
<meta property="og:description" content="{{ page.excerpt| strip_html }}" /> | ||
{% else %} | ||
<meta name="description" content="{{ site.description }}"> | ||
<meta property="og:description" content="{{ site.description }}" /> | ||
{% endif %} | ||
<meta name="author" content="{{ site.name }}" /> | ||
|
||
{% if page.title %} | ||
<meta property="og:title" content="{{ page.title }}" /> | ||
<meta property="twitter:title" content="{{ page.title }}" /> | ||
{% endif %} | ||
|
||
|
||
{% include assets/css/default.html %} | ||
{% include assets/js/default.html %} | ||
<!--[if lt IE 9]> | ||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
|
||
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/style.css" /> | ||
<link rel="alternate" type="application/rss+xml" title="{{ site.name }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" /> | ||
|
||
{% assign posts=site.posts | where:"ref", page.ref | sort: 'lang' %} | ||
{% for post in posts %} | ||
<link rel="alternate" hreflang="{{ post.lang }}" href="{{ post.url }}" /> | ||
{% endfor %} | ||
{% assign pages=site.pages | where:"ref", page.ref | sort: 'lang' %} | ||
{% for page in pages %} | ||
<link rel="alternate" hreflang="{{ page.lang }}" href="{{ page.url }}" /> | ||
{% endfor %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{% assign posts=site.posts | where:"ref", page.ref | sort: 'lang' %} | ||
{% for p in posts %} | ||
{% if p.lang != page.lang%} | ||
<a href="{{ p.url }}" class="{{ p.lang }}"> | ||
<span class="badge">{{ site.lang_names[p.lang] }}</span> | ||
</a> | ||
{% endif %} | ||
{% endfor %} | ||
|
||
{% assign pages=site.pages | where:"ref", page.ref | sort: 'lang' %} | ||
{% for p in pages %} | ||
{% if p.lang != page.lang%} | ||
<a href="{{ p.url }}" class="{{ p.lang }}"> | ||
<span class="badge">{{ site.lang_names[p.lang] }}</span> | ||
</a> | ||
{% endif %} | ||
{% endfor %} |