jekyll-theme-qufe 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3ad2ca9762e4724493ce902f52cdcd662e8f0d1f6774f7d050b70c612f43afde
4
+ data.tar.gz: c7aec9b555ec257de360781a9e02e5e7cbc1422adf0019086e1f5f8a1c3ea307
5
+ SHA512:
6
+ metadata.gz: efd01176b68b31180ab1804750e75a50f56c0d9e7286d784fdffc1d54de886732a54b1559f6eaaf96a69bd18eebe42c077e6c7bf35f264fb9325237632e6131e
7
+ data.tar.gz: '03414384d4c45d4d048b8f11d478e76ac9fde805e6842142ecdfa4200db4303d9164591845154c9a0ba5243e7b3897f1d465292c30f53c3a0fd4695ba010b4d1'
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Metin Zorlu
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.
data/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # jekyll-theme-qufe
2
+
3
+ A blog theme with a personalized feel.
4
+
5
+ ![screenshot](/assets/img/screenshot.png)
6
+
7
+ ## Installation
8
+
9
+ Add your Jekyll site into gemfile:
10
+
11
+ gem 'jekyll-theme-qufe'
12
+
13
+ And execute:
14
+
15
+ bundle
16
+
17
+ ## Note:
18
+
19
+ If your site is in the root directory, the baseurl must be empty. Replace _config.yml:
20
+
21
+ baseurl: ""
22
+
23
+
24
+ Edit or change some parts of the _config_yml file. For example, enter your own social media usernames in the relevant lines.
25
+
26
+
27
+ twitter_username: your_name
28
+
29
+ To set the cover photo, modify the head.html file:
30
+
31
+ <img src="{{ site.baseurl }}/{{ site.image.kapak-1 }}" alt="kapak">
32
+
33
+ There are 4 options:
34
+
35
+ kapak-0, kapak-1 kapak-2, kapak-3
36
+
37
+ Use _config yml to change other things.
38
+
39
+ Title, description, footer_desc.
40
+
41
+ ## License
42
+
43
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
44
+
data/_config.yml ADDED
@@ -0,0 +1,29 @@
1
+ title: "Qufe Theme"
2
+ name: "Qufe"
3
+ email: metinzorlu@msn.com
4
+ description: Hello, welcome to my site! My areas of interest are theme making, graphic design and website development.
5
+ footer_desc: Personal web site
6
+
7
+ baseurl: "/qufe" # The subdirectory where your site is located. If not, leave it blank.
8
+ url: "" # The address where your site is located.
9
+ paginate: 5
10
+
11
+ twitter_username:
12
+ facebook_username:
13
+ pinterest_username:
14
+ github_username:
15
+ youtube_username:
16
+
17
+ image:
18
+ kapak-0: assets/img/i-0.jpg
19
+ kapak-1: assets/img/i-1.jpg
20
+ kapak-2: assets/img/i-2.jpg
21
+ kapak-3: assets/img/i-3.jpg
22
+
23
+ sass:
24
+ style: compressed
25
+
26
+ plugins:
27
+ - jekyll-feed
28
+ - jekyll-seo-tag
29
+ - jekyll-paginate
@@ -0,0 +1,5 @@
1
+
2
+
3
+ <footer><span>{{ site.footer_desc }}</span></footer>
4
+ </body>
5
+ </html>
@@ -0,0 +1,33 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+ <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css">
9
+ <link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/img/favicon.png">
10
+ <title>{% if page.title == null %}{{ site.title }}{% else %}{{ page.title }}{% endif %}</title>
11
+ </head>
12
+
13
+ <body>
14
+
15
+ <header>
16
+
17
+ <div class="cover">
18
+
19
+ <img src="{{ site.baseurl }}/{{ site.image.kapak-0 }}" alt="kapak">
20
+ </div>
21
+
22
+
23
+ <div class="head">
24
+
25
+ <ul>
26
+ <li><a href="{{ site.baseurl }}/">Home</a></li>
27
+ <li><a href="{{ site.baseurl }}/about">About</a></li>
28
+ <li><a href="{{ site.baseurl }}/links">Links</a></li>
29
+ </ul>
30
+
31
+ </div>
32
+
33
+ </header>
@@ -0,0 +1,25 @@
1
+ <div id="nav-menu">
2
+
3
+ <div class="profile">
4
+ <img src="{{ site.baseurl }}/assets/img/user1.png" alt="profile">
5
+ </div>
6
+
7
+ <div class="profile">
8
+ <h2><a href="{{ site.baseurl }}/about">{{ site.title }}</a></h2>
9
+ </div>
10
+
11
+ <div class="profile">
12
+ <span>{{ site.description }}</span>
13
+ </div>
14
+
15
+ <div class="social">
16
+
17
+ <div class="twt"><span><a href="https://twitter.com/{{ site.twitter_username }}">Twitter</a></span></div>
18
+ <div class="fb"><span><a href="https://facebook.com/{{ site.facebook_username }}">Facebook</a></span></div>
19
+ <div class="pin"><span><a href="https://pinterest.com/{{ site.pinterest_username }}">Pinterest</a></span></div>
20
+ <div class="gthb"><span><a href="https://github.com/{{ site.github_username }}">Github</span></div>
21
+ <div class="yt"><span><a href="https://youtube.com/{{ site.youtube_username }}">YouTube</a></span></div>
22
+
23
+ </div>
24
+
25
+ </div>
@@ -0,0 +1,15 @@
1
+ {% include head.html %}
2
+
3
+ <div class="container">
4
+
5
+ {% include nav-menu.html %}
6
+
7
+ <div class="main-body">
8
+
9
+
10
+ {{ content }}
11
+
12
+
13
+ </div>
14
+ </div>
15
+ {% include footer.html %}
@@ -0,0 +1,46 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <!-- This loops through the paginated posts -->
6
+ {% for post in paginator.posts %}
7
+ <div class="main">
8
+ <div class="content">
9
+ <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
10
+
11
+ <p>{{ post.excerpt }}</p>
12
+ <div class="date">{{ post.date | date_to_long_string }} - {{ post.categories }}</div>
13
+ </div>
14
+ </div>
15
+ {% endfor %}
16
+
17
+
18
+ {% if paginator.total_pages > 1 %}
19
+ <div class="main">
20
+
21
+
22
+ <div class="pagination">
23
+ {% if paginator.previous_page %}
24
+ <a href="{{ paginator.previous_page_path | relative_url }}">&laquo;</a>
25
+ {% else %}
26
+ <span class="soluk">&laquo;</span>
27
+ {% endif %}
28
+
29
+ {% for page in (1..paginator.total_pages) %}
30
+ {% if page == paginator.page %}
31
+ <span class="act">{{ page }}</span>
32
+ {% elsif page == 1 %}
33
+ <a href="{{ '/' | relative_url }}">{{ page }}</a>
34
+ {% else %}
35
+ <a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">{{ page }}</a>
36
+ {% endif %}
37
+ {% endfor %}
38
+
39
+ {% if paginator.next_page %}
40
+ <a href="{{ paginator.next_page_path | relative_url }}">&raquo;</a>
41
+ {% else %}
42
+ <span class="soluk">&raquo;</span>
43
+ {% endif %}
44
+ </div>
45
+ </div>
46
+ {% endif %}
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="main">
6
+
7
+ <div class="content">
8
+
9
+ {{ content }}
10
+
11
+ </div>
12
+
13
+ </div>
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="main">
6
+
7
+ <div class="content">
8
+
9
+
10
+ <h1><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></h1>
11
+
12
+ {{ content }}
13
+
14
+ <div class="date">{{ page.date | date_to_long_string }} - {{ page.categories }}</div>
15
+ </div>
16
+
17
+ </div>
@@ -0,0 +1,94 @@
1
+ ---
2
+ ---
3
+ body {width: 1100px; margin: 0 auto; padding: 0; text-decoration: none; box-sizing: border-box; background: #b9bcc5; font-family: Roboto, serif; font-size: 14px;}
4
+ h1, h2, h3, h4, h5, h6{color: #545444;} a{text-decoration: none; color: #3f5b8f; font-size: 16px;} a:hover{color: #000000;}
5
+ h2 {font-size: 1rem;}
6
+ h1{font-size: 17px; font-weight: 500; color: #4e4a53;} h1 a{color: #4e4a53;} h1 a:hover{color: #44f;}
7
+ header{
8
+
9
+ .head{
10
+
11
+ width: 100%; background-color: #efefee; padding: 3px 0; border-radius: 8px 8px 0 0; border-top: 2px solid #ffffff;
12
+ display: flex; justify-content: center;
13
+
14
+ ul{padding: 0;}
15
+ ul li {margin: 0 4px; list-style: none; border: 1px solid #dfdfe2; padding: 5px 0; display: inline-block; background-color: #fafafa; border-radius: 5px;}
16
+ ul li a {color: #454545; font-size: 14px; padding: 7px 15px;} ul li a:hover{color: #4d4dff;}
17
+
18
+ }
19
+ .cover{width: 100%; height: 216px;
20
+ margin: 11px 0; display: flex; justify-content: center; align-items: center;
21
+ img {border-radius: 8px; border: 2px solid #ffffff; width: 1100px; height: 216px; box-sizing: border-box;}
22
+ }
23
+ }
24
+ .container {
25
+ background-color: #efefee; display: grid; grid-template-columns: 20% 1fr;
26
+ border-top: 1px solid #dddddd;
27
+
28
+
29
+ #nav-menu {
30
+ padding: 15px 0; margin-left: 10px;
31
+
32
+ .profile {text-align: center;
33
+
34
+ span{font-size: 11px; text-align: center; color: #727272;} h2 {text-align: center; font-weight: normal;}
35
+ img{width: 145px; height: 145px; border-radius: 50%; border: 2px solid #ffffff; box-shadow: 0 2px 5px #bbb;}
36
+ a{color: #3a4041;} a:hover{color: #206770;}
37
+ }
38
+
39
+ .social {display: grid; margin-top: 11px; grid-template-columns: auto;
40
+
41
+ > div {padding: 5px; margin: 2px; border: 1px solid #dbdbdb; background-color: #fafafa; text-align: center; border-radius: 16px;}
42
+
43
+ a {font-size: 12px; color: #333333; text-align: center;} a:hover {color: #000;}
44
+
45
+
46
+ }
47
+ }
48
+
49
+ .main-body {
50
+
51
+ .main{
52
+
53
+ padding: 14px; font-size: 16px; line-height: 22px; color: #545444;
54
+
55
+ .content{border: 1px solid #dddddd; padding: 14px 22px; border-radius: 8px; background-color: #fafafa;
56
+
57
+ .card-action{padding: 12px 5px; border-top: 1px dotted #aaaaaa;}
58
+
59
+ img {max-width: 750px;}
60
+
61
+
62
+ .date{background-color: #f0ffff5b; padding: 5px; border-top: 1px solid #cecece; font-size: 11px; color: #a5a5a5;
63
+
64
+ a{color:#838383; font-size: 11px;} a:hover{color: #000;}}
65
+
66
+ }
67
+
68
+ .pagination{padding: 3px;
69
+
70
+ a{color: #444; padding: 6px 10px; border-radius: 50%; border: 1px solid #ddd; font-size: 12px;}
71
+ a:hover{color: #000; border: 1px solid #aaa;}
72
+
73
+ .act{border-radius: 50%; padding: 5px 10px; color: #7979ee; border: 1px solid #7979ee; margin: 0 3px;}
74
+
75
+
76
+ .soluk{color: #aaa; padding: 0 7px;}
77
+ }
78
+ }
79
+ }
80
+ }
81
+ @media screen and (max-device-width: 1100px) {
82
+ body{width: 100%;} .container{display: block; #nav-menu{display: none;}}
83
+ header .cover{margin: 2px 0; height: auto; .cover img {width: 100%; height: auto;}} .content img {width: 100%;}
84
+ }
85
+ @media screen and (max-device-width: 390px) {
86
+ header .head ul li a {padding: 7px; font-size: 12px;} .container .main-body .main p{font-size: 14px;}
87
+
88
+ }
89
+ pre{background-color: #f8f8f1; color: #333333; border: 1px solid #ddd; padding: 8px 10px; font-size: 13px;}
90
+ code{padding: 0 4px; font-size: 12px; white-space: pre-wrap;}
91
+ blockquote{padding: 0 10px; background-color: #efefee; border: 1px solid #ddd; margin: 0;}
92
+ footer{background-color: #e2e2e2; text-align: center; padding: 8px; border-top: 1px solid #cccccc; border-bottom: 2px solid #a1a1a1; color: #838383;}
93
+
94
+
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata ADDED
@@ -0,0 +1,75 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-qufe
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Metin Zorlu
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-01-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.2'
27
+ description:
28
+ email:
29
+ - metinzorlu@msn.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - _config.yml
37
+ - _includes/footer.html
38
+ - _includes/head.html
39
+ - _includes/nav-menu.html
40
+ - _layouts/default.html
41
+ - _layouts/main.html
42
+ - _layouts/page.html
43
+ - _layouts/post.html
44
+ - assets/css/main.scss
45
+ - assets/img/favicon.png
46
+ - assets/img/i-0.jpg
47
+ - assets/img/i-1.jpg
48
+ - assets/img/i-2.jpg
49
+ - assets/img/i-3.jpg
50
+ - assets/img/screenshot.png
51
+ - assets/img/user1.png
52
+ homepage: https://github.com/mtnzorlu/qufe
53
+ licenses:
54
+ - MIT
55
+ metadata: {}
56
+ post_install_message:
57
+ rdoc_options: []
58
+ require_paths:
59
+ - lib
60
+ required_ruby_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ requirements: []
71
+ rubygems_version: 3.2.3
72
+ signing_key:
73
+ specification_version: 4
74
+ summary: Personal oriented blog theme
75
+ test_files: []