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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf999c0b5157256da5ab5c93949cac6c61ea37fc08183f04d4230c8ab91e3b83
4
- data.tar.gz: 7400c232042a881b5dfd93b72c8c452e9f2f1cb93cdc3c760783b8060e94f554
3
+ metadata.gz: 17e0fee357f4d711d4d7d9e5ea9dd9501eb2050a67ddb4be7c281e91134cd709
4
+ data.tar.gz: dcae29284f6530aa3eef936837d11570e7d21448f83fdb53e9a7aefdf4551be7
5
5
  SHA512:
6
- metadata.gz: 2bba9d09e3d7c467a5886a81282ba718daa14cc86f1022775af3e0c6ea2f26704785bd1f4a36952de0201aa34682c8cbf94365e081eafa269295975fd9f7a117
7
- data.tar.gz: a0d73468041da6b1134408f023781f0e88fbda28f6ab195ca88319747616f77125b5a7e949a8274a53c692977211991794fa642a84b62dbe79c4cdbe37177452
6
+ metadata.gz: 5a903bd76c490ac51d5c4f1ce129f70c8e8e59be0fcdc1546222d9b077c598a8f78ebb3f74a9b2a0490dd13563b0f2371a57bda46f9a3b2b0cfd13c729bee25b
7
+ data.tar.gz: e3e192cb228eee16020134ae0b60ed8a6132670ddcf98b78711144a5fe51bbd27c753b63ba33c20994ae41d3551f929a61f9d0d8e396d8c2cfd1c4ba49250ab9
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # kot-zrodlowy-jekyll-theme
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-jekyll-theme"
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-jekyll-theme
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-jekyll-theme
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-jekyll-theme.gemspec` accordingly.
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
 
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
- <meta name="description" content="{{site.description}}">
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>
@@ -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
@@ -3,7 +3,9 @@ layout: default
3
3
  ---
4
4
  <article class="page">
5
5
  <header class="page-header">
6
- <h2 class="page-title"></h2>
6
+ <h2 class="page-title">{{ page.title | escape }}</h2>
7
7
  </header>
8
-
8
+ <div>
9
+ {{content}}
10
+ </div>
9
11
  </article>
data/_sass/colors.scss ADDED
@@ -0,0 +1,8 @@
1
+ $primary: #424242;
2
+ $primary-dark: #1b1b1b;
3
+ $primary-ligth: #6d6d6d;
4
+ $secondart-dark: #4b830d;
5
+ $secondary: #7cb342;
6
+ $secondary-light: #aee571;
7
+ $primary-text: #d4d4d4;
8
+ $secondary-text: #1b1b1b;
data/_sass/fonts.scss ADDED
@@ -0,0 +1,2 @@
1
+ $header-font: 'Lato', sans-serif;
2
+ $body-font: 'Open Sans', sans-serif;
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: 'Lato', sans-serif;
11
+ font-family: $header-font;
11
12
  }
12
13
  .site-logo {
13
- width: 54px;
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
  }
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.0
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: