Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit 50423c0

Browse files
committed
Use Poole v2
poole#97
1 parent f2049c3 commit 50423c0

23 files changed

+513
-474
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
_gh_pages
33
_site
44
.ruby-version
5+
.sass-cache
56

67
# Numerous always-ignore extensions
78
*.diff

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77

88
<div class="page">
99
<h1 class="page-title">404: Page not found</h1>
10-
<p class="lead">Кажется, вы пришли по кривой ссылке. Самая прямая дорога — <a href="{{ site.baseurl }}">домой</a>.</p>
10+
<p class="lead">Кажется, вы пришли по кривой ссылке. Самая прямая дорога — <a href="{{ site.baseurl }}/">домой</a>.</p>
1111
</div>

_config.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
11
# Dependencies
2-
#markdown: redcarpet
32
highlighter: rouge
43

54
# Permalinks
65
permalink: pretty
7-
#relative_permalinks: true
86

97
# Setup
108
title: Pimp my Keenetic
11-
tagline: 'Стартуй! Прокачай!'
12-
description: 'Использование роутера ZyXEL за пределами веб-интерфейса, в т.ч. вместе с дополнительным ПО из репозитория <a href="http://entware.net" target="_blank">Entware-ng</a>.'
9+
tagline: Стартуй! Прокачай!
10+
description: 'Использование роутера ZyXEL за пределами веб-интерфейса, в т.ч. вместе с ПО из репозитория <a href="http://entware.net" target="_blank">Entware-ng</a>.'
1311
url: http://keenetic-gi.ga
14-
baseurl: /
12+
baseurl: ""
1513

1614
author:
1715
name: 'Alexander Ryzhov'
1816
url: https://github.com/ryzhovau
17+
18+
19+
# Assets
20+
#
21+
# We specify the directory for Jekyll so we can use @imports.
22+
sass:
23+
sass_dir: _sass
24+
style: :compressed
1925

2026
paginate: 5
2127

2228
# Custom vars
23-
version: 2.1.0
29+
version: 3.0.0
2430
github:
2531
repo: https://github.com/PimpMyKeenetic/PimpMyKeenetic.github.io
2632

_includes/head.html

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<head>
2+
<meta charset="UTF-8">
23
<link href="http://gmpg.org/xfn/11" rel="profile">
3-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4-
<meta http-equiv="content-type" content="text/html; charset=utf-8">
54

65
<!-- Enable responsiveness on mobile devices-->
7-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
87

98
<title>
109
{% if page.title == "Home" %}
@@ -15,15 +14,13 @@
1514
</title>
1615

1716
<!-- CSS -->
18-
<link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css">
19-
<link rel="stylesheet" href="{{ site.baseurl }}public/css/syntax.css">
20-
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css">
2117
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
18+
<link rel="stylesheet" href="{{ site.baseurl }}/styles.css">
2219

2320
<!-- Icons -->
24-
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}public/apple-touch-icon-144-precomposed.png">
25-
<link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.ico">
21+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/public/apple-touch-icon-precomposed.png">
22+
<link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.ico">
2623

2724
<!-- RSS -->
28-
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
25+
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ site.baseurl }}/atom.xml">
2926
</head>

_layouts/default.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<!DOCTYPE html>
2-
<html lang="en-us">
2+
<html lang="en">
33

44
{% include head.html %}
55

66
<body>
77

88
{% include sidebar.html %}
99

10-
<div class="content container">
10+
<main class="container content">
1111
{{ content }}
12-
</div>
12+
</main>
1313

1414
<!-- Yandex.Metrika counter -->
1515
<script type="text/javascript">

_layouts/page.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: default
33
---
44

5-
<div class="page">
5+
<article class="page">
66
<h1 class="page-title">{{ page.title }}</h1>
77
{{ content }}
8-
</div>
8+
</article>

_layouts/post.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,26 @@
22
layout: default
33
---
44

5-
<div class="post">
5+
<article class="post">
66
<h1 class="post-title">{{ page.title }}</h1>
7-
<span class="post-date">{{ page.date | date_to_string }}</span>
7+
<time datetime="{{ page.date | date_to_xmlschema }}" class="post-date">{{ page.date | date_to_string }}</time>
88
{{ content }}
9-
</div>
9+
</article>
1010

11-
<div class="related">
11+
{% if site.related_posts != empty %}
12+
<aside class="related">
1213
<h2>Related Posts</h2>
1314
<ul class="related-posts">
1415
{% for post in site.related_posts limit:3 %}
1516
<li>
1617
<h3>
17-
<a href="{{ post.url }}">
18+
<a href="{{ site.baseurl }}{{ post.url }}">
1819
{{ post.title }}
19-
<small>{{ post.date | date_to_string }}</small>
20+
<small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
2021
</a>
2122
</h3>
2223
</li>
2324
{% endfor %}
2425
</ul>
25-
</div>
26+
</aside>
27+
{% endif %}

_sass/_base.scss

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// Body resets
2+
//
3+
// Update the foundational and global aspects of the page.
4+
5+
* {
6+
-webkit-box-sizing: border-box;
7+
-moz-box-sizing: border-box;
8+
box-sizing: border-box;
9+
}
10+
11+
html,
12+
body {
13+
margin: 0;
14+
padding: 0;
15+
}
16+
17+
html {
18+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
19+
font-size: 16px;
20+
line-height: 1.5;
21+
22+
@media (min-width: 38em) {
23+
font-size: 18px;
24+
}
25+
}
26+
27+
body {
28+
color: #515151;
29+
background-color: #fff;
30+
-webkit-text-size-adjust: 100%;
31+
-ms-text-size-adjust: 100%;
32+
}
33+
34+
// No `:visited` state is required by default (browsers will use `a`)
35+
a {
36+
color: #268bd2;
37+
text-decoration: none;
38+
39+
// `:focus` is linked to `:hover` for basic accessibility
40+
&:hover,
41+
&:focus {
42+
text-decoration: underline;
43+
}
44+
45+
strong {
46+
color: inherit;
47+
}
48+
}
49+
50+
img {
51+
display: block;
52+
max-width: 100%;
53+
margin: 0 0 1rem;
54+
border-radius: 5px;
55+
}
56+
57+
table {
58+
margin-bottom: 1rem;
59+
width: 100%;
60+
font-size: 85%;
61+
border: 1px solid #e5e5e5;
62+
border-collapse: collapse;
63+
}
64+
65+
td,
66+
th {
67+
padding: .25rem .5rem;
68+
border: 1px solid #e5e5e5;
69+
}
70+
71+
th {
72+
text-align: left;
73+
}
74+
75+
tbody tr:nth-child(odd) td,
76+
tbody tr:nth-child(odd) th {
77+
background-color: #f9f9f9;
78+
}

_sass/_code.scss

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// Code
2+
//
3+
// Inline and block-level code snippets. Includes tweaks to syntax highlighted
4+
// snippets from Pygments/Rouge and Gist embeds.
5+
6+
code,
7+
pre {
8+
font-family: Menlo, Monaco, "Courier New", monospace;
9+
}
10+
11+
code {
12+
padding: .25em .5em;
13+
font-size: 85%;
14+
color: #bf616a;
15+
background-color: #f9f9f9;
16+
border-radius: 3px;
17+
}
18+
19+
pre {
20+
margin-top: 0;
21+
margin-bottom: 1rem;
22+
}
23+
24+
pre code {
25+
padding: 0;
26+
font-size: 100%;
27+
color: inherit;
28+
background-color: transparent;
29+
}
30+
31+
// Pygments via Jekyll
32+
.highlight {
33+
padding: 1rem;
34+
margin-bottom: 1rem;
35+
font-size: .8rem;
36+
line-height: 1.4;
37+
background-color: #f9f9f9;
38+
border-radius: .25rem;
39+
40+
pre {
41+
margin-bottom: 0;
42+
overflow-x: auto;
43+
}
44+
45+
.lineno {
46+
display: inline-block; // Ensures the null space also isn't selectable
47+
padding-right: .75rem;
48+
padding-left: .25rem;
49+
color: #999;
50+
// Make sure numbers aren't selectable
51+
-webkit-user-select: none;
52+
-moz-user-select: none;
53+
user-select: none;
54+
}
55+
}
56+
57+
58+
// Gist via GitHub Pages
59+
// .gist .gist-file {
60+
// font-family: Menlo, Monaco, "Courier New", monospace !important;
61+
// }
62+
// .gist .markdown-body {
63+
// padding: 15px;
64+
// }
65+
// .gist pre {
66+
// padding: 0;
67+
// background-color: transparent;
68+
// }
69+
// .gist .gist-file .gist-data {
70+
// font-size: .8rem !important;
71+
// line-height: 1.4;
72+
// }
73+
// .gist code {
74+
// padding: 0;
75+
// color: inherit;
76+
// background-color: transparent;
77+
// border-radius: 0;
78+
// }
File renamed without changes.

0 commit comments

Comments
 (0)