jekyll-theme-kot-zrodlowy 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/_includes/data.html +0 -0
- data/_includes/head.html +3 -1
- data/_includes/header.html +12 -2
- data/_layouts/page.html +4 -2
- data/_sass/colors.scss +8 -0
- data/_sass/fonts.scss +2 -0
- data/_sass/header.scss +30 -2
- data/assets/img/logo.png +0 -0
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17e0fee357f4d711d4d7d9e5ea9dd9501eb2050a67ddb4be7c281e91134cd709
|
4
|
+
data.tar.gz: dcae29284f6530aa3eef936837d11570e7d21448f83fdb53e9a7aefdf4551be7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a903bd76c490ac51d5c4f1ce129f70c8e8e59be0fcdc1546222d9b077c598a8f78ebb3f74a9b2a0490dd13563b0f2371a57bda46f9a3b2b0cfd13c729bee25b
|
7
|
+
data.tar.gz: e3e192cb228eee16020134ae0b60ed8a6132670ddcf98b78711144a5fe51bbd27c753b63ba33c20994ae41d3551f929a61f9d0d8e396d8c2cfd1c4ba49250ab9
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# kot-zrodlowy
|
1
|
+
# jekyll-theme-kot-zrodlowy
|
2
2
|
|
3
3
|
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
|
4
4
|
|
@@ -12,13 +12,13 @@ TODO: Delete this and the text above, and describe your gem
|
|
12
12
|
Add this line to your Jekyll site's `Gemfile`:
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
gem "kot-zrodlowy
|
15
|
+
gem "jekyll-theme-kot-zrodlowy"
|
16
16
|
```
|
17
17
|
|
18
18
|
And add this line to your Jekyll site's `_config.yml`:
|
19
19
|
|
20
20
|
```yaml
|
21
|
-
theme: kot-zrodlowy
|
21
|
+
theme: jekyll-theme-kot-zrodlowy
|
22
22
|
```
|
23
23
|
|
24
24
|
And then execute:
|
@@ -27,7 +27,7 @@ And then execute:
|
|
27
27
|
|
28
28
|
Or install it yourself as:
|
29
29
|
|
30
|
-
$ gem install kot-zrodlowy
|
30
|
+
$ gem install jekyll-theme-kot-zrodlowy
|
31
31
|
|
32
32
|
## Usage
|
33
33
|
|
@@ -44,7 +44,7 @@ To set up your environment to develop this theme, run `bundle install`.
|
|
44
44
|
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
45
45
|
|
46
46
|
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
47
|
-
To add a custom directory to your theme-gem, please edit the regexp in `kot-zrodlowy
|
47
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-kot-zrodlowy.gemspec` accordingly.
|
48
48
|
|
49
49
|
## License
|
50
50
|
|
data/_includes/data.html
ADDED
File without changes
|
data/_includes/head.html
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
<head>
|
2
2
|
<meta charset="utf-8">
|
3
3
|
<meta name="viewport" content="width=device-width initial-scale=1">
|
4
|
-
|
4
|
+
<meta name="description" content="{{site.description}}">
|
5
|
+
{% include data.html %}
|
5
6
|
<title> {% if page.title %}
|
6
7
|
{{ page.title}} - {{site.title}}
|
7
8
|
{% else %} {{site.title}}
|
8
9
|
{% endif %}
|
9
10
|
</title>
|
11
|
+
<link href="https://fonts.googleapis.com/css?family=Lato|Open+Sans" rel="stylesheet">
|
10
12
|
<link rel="icon" type="image/png" href="/assets/img/logo.png">
|
11
13
|
<link rel="stylesheet" href="/assets/main.css">
|
12
14
|
</head>
|
data/_includes/header.html
CHANGED
@@ -5,7 +5,17 @@
|
|
5
5
|
</a>
|
6
6
|
</h1>
|
7
7
|
<nav class="site-menu">
|
8
|
-
|
8
|
+
<ul>
|
9
|
+
{% for my_page in site.pages %}
|
10
|
+
{% if my_page.title and my_page.url != '/404.html' %}
|
11
|
+
<li class="site-menu-item"><a class="menu-item-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
|
12
|
+
{% endif %}
|
13
|
+
{% endfor %}
|
14
|
+
</ul>
|
15
|
+
</nav>
|
16
|
+
<nav class="social-menu">
|
17
|
+
{% for media in site.social %}
|
18
|
+
<a class="menu-item-link" href="{{ media.url | relative_url }}"><img src="/assets/img/social-media/{{media.name}}.png" alt="{{media.name}}"></a>
|
19
|
+
{% endfor %}
|
9
20
|
</nav>
|
10
|
-
<nav class="social-menu"></nav>
|
11
21
|
</header>
|
data/_layouts/page.html
CHANGED
data/_sass/colors.scss
ADDED
data/_sass/fonts.scss
ADDED
data/_sass/header.scss
CHANGED
@@ -3,13 +3,41 @@
|
|
3
3
|
background: $primary;
|
4
4
|
color: $primary-text;
|
5
5
|
margin: 0;
|
6
|
+
display: flex;
|
6
7
|
.site-name {
|
7
8
|
font-size: 28px;
|
8
9
|
line-height: 60px;
|
9
10
|
margin: 0;
|
10
|
-
font-family:
|
11
|
+
font-family: $header-font;
|
11
12
|
}
|
12
13
|
.site-logo {
|
13
|
-
|
14
|
+
height: 54px;
|
14
15
|
}
|
16
|
+
.site-menu {
|
17
|
+
font-family: $header-font;
|
18
|
+
color: $primary-text;
|
19
|
+
font-size: 18px;
|
20
|
+
line-height: 60px;
|
21
|
+
width: max-content;
|
22
|
+
ul {
|
23
|
+
list-style-type: none;
|
24
|
+
margin: 0;
|
25
|
+
display: flex;
|
26
|
+
flex-direction: row;
|
27
|
+
width: 100%;
|
28
|
+
justify-content: flex-end;
|
29
|
+
li {
|
30
|
+
padding: 0 2%;
|
31
|
+
width: max-content;
|
32
|
+
a {
|
33
|
+
text-decoration: none;
|
34
|
+
color: $primary-text;
|
35
|
+
}
|
36
|
+
a:hover {
|
37
|
+
text-decoration: underline;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
15
43
|
}
|
data/assets/img/logo.png
ADDED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-kot-zrodlowy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kornelia Kobiela
|
@@ -61,14 +61,18 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- LICENSE
|
63
63
|
- README.md
|
64
|
+
- _includes/data.html
|
64
65
|
- _includes/footer.html
|
65
66
|
- _includes/head.html
|
66
67
|
- _includes/header.html
|
67
68
|
- _layouts/default.html
|
68
69
|
- _layouts/page.html
|
69
70
|
- _layouts/post.html
|
71
|
+
- _sass/colors.scss
|
72
|
+
- _sass/fonts.scss
|
70
73
|
- _sass/header.scss
|
71
74
|
- _sass/monokai.scss
|
75
|
+
- assets/img/logo.png
|
72
76
|
- assets/main.scss
|
73
77
|
homepage: https://gitlab.com/kot-zrodlowy/kot-zrodlowy-jekyll-theme
|
74
78
|
licenses:
|