jekyll-theme-wallpaper-home 0.1.1

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 92ff39371e86c0f47f6c92764c825e2786967c18
4
+ data.tar.gz: 68dfb30de50ff9233fc545fdf823d29669c5f4dd
5
+ SHA512:
6
+ metadata.gz: 9d23eeb4ff06b929a2d958b0f5003f7af712daadd5e01f75ad04f072be27d6e3452eba235815c5e706fff99ae5b1ac1fa5a378a3916acfc90ebd19cd2d3d918a
7
+ data.tar.gz: c5658f316cfaca8c02ffa6549be8060c2d87f2f4970e2299f3a1b0183f3865ed87d7f113121c3be1c547a7f58c82d51cc050e16581b74346cc8a6903ccd276f9
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Rodrigo M. Vega
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.
@@ -0,0 +1,177 @@
1
+ [![Generic
2
+ badge](https://img.shields.io/badge/version-0.1-green.svg)](https://shields.io/)
3
+
4
+ # The Wallpaper Home Jekyll Theme
5
+
6
+ A simple theme for building a personal site with Jekyll. The home
7
+ page uses light text over a picture of your choice. The rest of the pages are
8
+ arranged within a light or a dark background. Besides the home page, the theme
9
+ includes a layout for a blog and a portfolio.
10
+ [Demo](https://rmvegasm.github.io/jekyll-theme-wallpaper-home).
11
+
12
+ ![screenshot](screenshot.png)
13
+
14
+
15
+ ## Installation
16
+
17
+ Add this line to your Jekyll site's `Gemfile`:
18
+
19
+ ```ruby
20
+ gem "jekyll-theme-wallpaper-home"
21
+ ```
22
+
23
+ And add this line to your Jekyll site's `_config.yml`:
24
+
25
+ ```yaml
26
+ theme: jekyll-theme-wallpaper-home
27
+ ```
28
+
29
+ And then execute:
30
+
31
+ $ bundle
32
+
33
+ Or install it yourself as:
34
+
35
+ $ gem install jekyll-theme-wallpaper-home
36
+
37
+ ## Usage
38
+
39
+ ### The `_config.yml` file
40
+
41
+ #### Site configuration
42
+
43
+ - `url:` the full address to your site.
44
+
45
+ - `baseurl:` the subpath where your site is hosted, if it differs from the root of the
46
+ domain. Both of these values are used in filters to render appropriate link
47
+ url's throughout the site. Check the [Jekyll
48
+ docs](https://jekyllrb.com/docs/liquid/filters/) for more details.
49
+
50
+ - `title:` your site's title. This will be used to inform search engines, but also for
51
+ the site's *brand* element in the navbar.
52
+
53
+ - `author:` the site's author. Will also be the default author for posts when there is no
54
+ other value within the frontmatter.
55
+
56
+ - `logo:` the relative path to the site's logo.
57
+
58
+ - `background-img:` the relative path to the image to be used as wallpaper.
59
+
60
+ - `overlay-top:, overlay-bottom:` the wallpaper image is overlaid by a black,
61
+ semi transparent layer to improve readability. These two values control the
62
+ opacity at the top and bottom.
63
+
64
+ - `intro-width:` the width of the intro message displayed in the home page. You can adjust this
65
+ to accomodate the length of your text.
66
+
67
+ - `link-color:` the color to use for links, in hexadecimal notation. Use it to select a color
68
+ that plays well with your wallpaper image. This will be the color of every
69
+ link in the page, including social icons in the footer.
70
+
71
+ - `dark:` boolean, if true the the site is rendered with light text over a dark
72
+ background. This option also affects the syntax schema used, unless you
73
+ provide one explicitly via the `syntax-theme:` option.
74
+
75
+ - `math:` boolean, set to `true` if you plan to use math. You can also set it in the
76
+ frontmatter if you need math for only some pages rather than site--wide.
77
+
78
+ #### Google fonts
79
+
80
+ - `google-fonts:` optional, set your favorite google fonts. You can specify up to three
81
+ different fonts for regular text, headings and code. Provide the string as
82
+ expected by google fonts, as in `"Source+Code+Pro:300"`.
83
+
84
+ #### Footer links
85
+
86
+ - `social:` provide your username to get a social--media link in the footer, with the
87
+ following exceptions:
88
+ - `mail:` your full e--mail address
89
+ - `rss:` boolean, if `true` generate rss feed
90
+ - `linkedin`: provide the **full url**
91
+ - `researchgate`: provide the **full url**
92
+ - `stack_exchange`: provide the **full url**
93
+
94
+ #### Footer text
95
+
96
+ - `footer-text:` the text in the footer. HTML markup is needed here.
97
+
98
+ #### Build settings
99
+
100
+ Most of this section should not be touched, specially if your target is
101
+ github--pages. `syntax-theme:` allows you to use a costum syntax highlighting
102
+ scheme, see this [blog
103
+ post](https://rmvegasm.github.io/jekyll-theme-wallpaper-home/posts.html) for
104
+ details.
105
+
106
+ #### Pagination
107
+
108
+ Currently not working...
109
+
110
+ #### Portfolio
111
+
112
+ Don't touch.
113
+
114
+ ### Layouts
115
+
116
+ - **default:** Includes the head and tail, content in between. This loads the stylesheets and
117
+ scripts for other layouts.
118
+
119
+ - **home:** renders the content as centered text. Also includes the header with the navbar
120
+ and the footer with social icons and footer--text.
121
+
122
+ - **page:** includes the header, and renders the page title and optional subtitle in a
123
+ transparent container, overlaying the background image. Content and footer
124
+ are rendered whithin a dark or a light box, depending on the value of
125
+ `site.dark`.
126
+
127
+ - **post:** similar to the page layout, but title, optional subtitle, date and tags are used to
128
+ build a frontmatter within the same box. Date can be omitted by including
129
+ `no-date: true` in the yaml frontmatter.
130
+
131
+ - **blog:** uses the page layout, and lists the files in `_posts` as blog entries. The
132
+ looping and structure of each entry is done by `_includes/blog.html`.
133
+
134
+ - **portfolio:** similar to the blog layout, but arranges the files in `_portfolio` as a grid.
135
+ These files are expected to include an `img:` value within the frontmatter.
136
+ Looping and structure is done by `_includes/portfolio.html`.
137
+
138
+ ### Includes
139
+
140
+ - **head:** the `<head>` element, and the opening `<body>`.
141
+
142
+ - **header:** builds the navbar and the titlematter for page layouts.
143
+
144
+ - **resolve-dark:** this snippet searches for the value of `dark` within the
145
+ site and page metadata, and assigns a variable `dark` accordingly. Is called
146
+ by `_includes/footer.html`, `_includes/tags.html` and `_layouts/page.html`.
147
+
148
+ - **footer:** generates the icons and links for every value in `site.social`, appends the
149
+ footer--text.
150
+
151
+ - **icons:** loops through `site.social` and if there is a value for any item, builds a
152
+ link on the corresponding icon. Is called by `_includes/footer.html`.
153
+
154
+ - **tags:** loops through a page's tags and builds a *pill* for each of them. Is called by
155
+ `_includes/blog.html` and `_includes/portfolio.html`.
156
+
157
+ - **blog:** loops through the files in `_posts/` and builds a bootstrap "jumbotron" for
158
+ each one. Is called by `_layouts/blog.html`.
159
+
160
+ - **portfolio:** loops through the files in `_portfolio/` and builds a boostrap "card" for each
161
+ one. Is called by `_layouts/portfolio.html`.
162
+
163
+ - **tail:** includes the bootstrap scripts and the closing `</body>` and `</html>` tags.
164
+
165
+ ## Contributing
166
+
167
+ Bug reports and pull requests are welcome on GitHub at
168
+ [rmvegasm/jekyll-theme-wallpaper-home](https://github.com/rmvegasm/jekyll-theme-wallpaper-home).
169
+ This project is intended to be a safe, welcoming space for collaboration, and
170
+ contributors are expected to adhere to the [Contributor
171
+ Covenant](http://contributor-covenant.org) code of conduct.
172
+
173
+ ## License
174
+
175
+ The theme is available as open source under the terms of the [MIT
176
+ License](https://opensource.org/licenses/MIT).
177
+
@@ -0,0 +1,20 @@
1
+ <!-- _includes/blog.html -->
2
+
3
+ {% for post in site.posts %}
4
+
5
+ <!-- make a jumbotron with title date and exerpt -->
6
+
7
+ <div class="jumbotron position-relative bg-transparent shadow rounded">
8
+ <h1>{{ post.title }}</h1>
9
+ <h2 class="lead text-muted">{{ post.date | date_to_string }}</h2>
10
+ {% include tags.html %}
11
+ <hr class="my-2">
12
+ <p>{{ post.excerpt }}</p>
13
+ <a href="{{ post.url | absolute_url }}" class="btn btn-block stretched-link">
14
+ <span class="fas fa-plus"></span>
15
+ </a>
16
+ </div>
17
+
18
+ {% endfor %}
19
+
20
+ <!-- _includes/blog.html EOF-->
@@ -0,0 +1,18 @@
1
+ <!-- _includes/footer.html -->
2
+
3
+ {% include resolve-dark.liquid %}
4
+ <footer class="text-center
5
+ {% unless page.layout == 'home' %}
6
+ {% if dark %} bg-dark
7
+ {% else %} bg-light text-dark
8
+ {% endif %}
9
+ {% endunless %}">
10
+ <div id="icons" class="d-flex flex-wrap justify-content-around pt-4">
11
+ {% include icons.html %}
12
+ </div>
13
+ <div class="small p-4">
14
+ <p>{{ site.footer-text }}</p>
15
+ </div>
16
+ </footer>
17
+
18
+ <!-- _includes/footer.html EOF-->
@@ -0,0 +1,67 @@
1
+ <!-- _includes/head.html -->
2
+
3
+ <!doctype html>
4
+ <html lang="en">
5
+ <head>
6
+ <meta charset="utf-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8
+ <meta name="description" content="{{ site.description }}">
9
+ <meta name="author" content="{{ site.author }}">
10
+ <meta name="generator" content="Jekyll v3.8.5">
11
+ <title>{{ site.title }}</title>
12
+
13
+ <!-- Bootstrap core CSS -->
14
+
15
+ <link rel="stylesheet"
16
+ href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
17
+ integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
18
+ crossorigin="anonymous">
19
+
20
+ <!-- Fontawesome -->
21
+
22
+ <link rel="stylesheet"
23
+ href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
24
+ integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf"
25
+ crossorigin="anonymous">
26
+
27
+ <!-- MathJax -->
28
+
29
+ {% if site.math or page.math %}
30
+ <script
31
+ src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-MML-AM_CHTML'
32
+ async></script>
33
+ {% endif %}
34
+
35
+ <!-- Google Fonts -->
36
+
37
+ {% if site.google-fonts %}
38
+ {% assign gf = site.google-fonts %}
39
+ {%- capture which -%}
40
+ {%- for font in gf -%}
41
+ {%- if font -%}|{{ font.last }}{%- endif -%}
42
+ {%- endfor -%}
43
+ {%- endcapture -%}
44
+ {%- assign request = which | remove_first: "|" -%}
45
+ <link href="https://fonts.googleapis.com/css?family={{ request }}"
46
+ rel="stylesheet">
47
+ {% endif %}
48
+
49
+ <!-- Custom styles for this template -->
50
+
51
+ {% include resolve-dark.liquid %}
52
+ {% if site.syntax-theme %}
53
+ {% assign theme = site.syntax-theme %}
54
+ {% elsif dark %}
55
+ {% assign theme = "assets/css/gruvbox.css" %}
56
+ {% else %}
57
+ {% assign theme = "assets/css/gruvbox-light.css" %}
58
+ {% endif %}
59
+ <link href="{{ theme | absolute_url }}" rel="stylesheet">
60
+ <link href="{{ 'assets/css/wallpaper-home.css' | absolute_url }}" rel="stylesheet">
61
+
62
+ </head>
63
+
64
+ <body>
65
+ <div class="container d-flex flex-column justify-content-between h-100 p-3 text-light">
66
+
67
+ <!-- _includes/head.html EOF-->
@@ -0,0 +1,36 @@
1
+ <!-- _includes/header.html -->
2
+
3
+ <header>
4
+ <nav class="navbar navbar-dark navbar-expand-md">
5
+ <a class="navbar-brand" href={{ site.url | append: site.baseurl }}>
6
+ <img src={{ site.logo | absolute_url }} alt="logo" width="43px">
7
+ <h2 class="navbar-text lead text-white p-2">{{ site.title }}</h2>
8
+ </a>
9
+ <button class="navbar-toggler border-0" type="button" data-toggle="collapse"
10
+ data-target="#thenavmenu">
11
+ <span class="fas fa-lg fa-bars"></span>
12
+ </button>
13
+
14
+ <div class="collapse navbar-collapse flex-row-reverse" id="thenavmenu">
15
+ <ul class="navbar-nav text-right">
16
+ {% for item in site.pages %}
17
+ {% if item.title and item.hide != true %}
18
+ <li class="nav-item {% if page.url == item.url %} active {% endif %}">
19
+ <a class="nav-link" href={{ item.url | absolute_url }}>{{ item.title }}</a>
20
+ </li>
21
+ {% endif %}
22
+ {% endfor %}
23
+ </ul>
24
+ </div>
25
+ </nav>
26
+ {% if page.layout == "page" or page.layout == "blog" %}
27
+ <div class="jumbotron bg-transparent text-center">
28
+ <h1 class="display-3 p-3">{{ page.title }}</h1>
29
+ {% if page.subtitle %}
30
+ <h2 class="lead">{{ page.subtitle }}</h2>
31
+ {% endif %}
32
+ </div>
33
+ {% endif %}
34
+ </header>
35
+
36
+ <!-- _includes/header.html EOF-->
@@ -0,0 +1,135 @@
1
+ <!-- _includes/icons.html -->
2
+
3
+ {% if site.social.mail %}
4
+ <a href="mailto:{{ site.social.mail }}">
5
+ <span class="fas fa-2x fa-envelope"></span>
6
+ </a>
7
+ {% endif %}
8
+
9
+ {% if site.social.twitter %}
10
+ <a href="https://twitter.com/{{ site.social.twitter }}">
11
+ <span class="fab fa-2x fa-twitter "></span>
12
+ </a>
13
+ {% endif %}
14
+
15
+ {% if site.social.rss %}
16
+ <a href="{{ 'feed.xml' | absolute_url }}">
17
+ <span class="fas fa-2x fa-rss"></span>
18
+ </a>
19
+ {% endif %}
20
+
21
+ {% if site.social.behance %}
22
+ <a href="https://www.behance.net/{{ site.social.behance }}">
23
+ <span class="fab fa-2x fa-behance-square"></span>
24
+ </a>
25
+ {% endif %}
26
+
27
+ {% if site.social.bitbucket %}
28
+ <a href="https://bitbucket.org/{{ site.social.bitbucket }}">
29
+ <span class="fab fa-2x fa-bitbucket"></span>
30
+ </a>
31
+ {% endif %}
32
+
33
+ {% if site.social.dribbble %}
34
+ <a href="https://dribble.com/{{ site.social.dribbble }}">
35
+ <span class="fab fa-2x fa-dribble"></span>
36
+ </a>
37
+ {% endif %}
38
+
39
+ {% if site.social.facebook %}
40
+ <a href="https://www.facebook.com/{{ site.social.facebook }}">
41
+ <span class="fab fa-2x fa-facebook"></span>
42
+ </a>
43
+ {% endif %}
44
+
45
+ {% if site.social.flickr %}
46
+ <a href="https://www.flickr.com/photos/{{ site.social.flickr }}">
47
+ <span class="fab fa-2x fa-flickr"></span>
48
+ </a>
49
+ {% endif %}
50
+
51
+ {% if site.social.gitlab %}
52
+ <a href="https://gitlab.com/{{ site.social.gitlab }}">
53
+ <span class="fab fa-2x fa-gitlab"></span>
54
+ </a>
55
+ {% endif %}
56
+
57
+ {% if site.social.github %}
58
+ <a href="https://github.com/{{ site.social.github }}">
59
+ <span class="fab fa-2x fa-github"></span>
60
+ </a>
61
+ {% endif %}
62
+
63
+ {% if site.social.instagram %}
64
+ <a href="http://instagram.com/{{ site.social.instagram }}">
65
+ <span class="fab fa-2x fa-instagram"></span>
66
+ </a>
67
+ {% endif %}
68
+
69
+ {% if site.social.keybase %}
70
+ <a href="https://keybase.io/{{ site.social.keybase }}">
71
+ <span class="fab fa-2x fa-keybase"></span>
72
+ </a>
73
+ {% endif %}
74
+
75
+ {% if site.social.linkedin %}
76
+ <a href="{{ site.social.linkedin }}">
77
+ <span class="fab fa-2x fa-linkedin"></span>
78
+ </a>
79
+ {% endif %}
80
+
81
+ {% if site.social.pinterest %}
82
+ <a href="http://www.pinterest.com/{{ site.social.pinterest }}">
83
+ <span class="fab fa-2x fa-pinterest"></span>
84
+ </a>
85
+ {% endif %}
86
+
87
+ {% if site.social.researchgate %}
88
+ <a href="{{ site.social.researchgate }}">
89
+ <span class="fab fa-2x fa-researchgate"></span>
90
+ </a>
91
+ {% endif %}
92
+
93
+ {% if site.social.reddit %}
94
+ <a href="https://www.reddit.com/user/{{ site.social.reddit }}">
95
+ <span class="fab fa-2x fa-reddit"></span>
96
+ </a>
97
+ {% endif %}
98
+
99
+ {% if site.social.soundcloud %}
100
+ <a href="https://soundcloud.com/{{ site.social.soundcloud }}">
101
+ <span class="fab fa-2x fa-soundcloud"></span>
102
+ </a>
103
+ {% endif %}
104
+
105
+ {% if site.social.stack_exchange %}
106
+ <a href="{{ site.social.stack_exchange }}">
107
+ <span class="fab fa-2x fa-stack-exchange"></span>
108
+ </a>
109
+ {% endif %}
110
+
111
+ {% if site.social.tumblr %}
112
+ <a href="http://{{ site.social.tumblr }}.tumblr.com/">
113
+ <span class="fab fa-2x tumblr-square"></span>
114
+ </a>
115
+ {% endif %}
116
+
117
+ {% if site.social.vimeo %}
118
+ <a href="https://vimeo.com/{{ site.social.vimeo }}">
119
+ <span class="fab fa-2x fa-vimeo"></span>
120
+ </a>
121
+ {% endif %}
122
+
123
+ {% if site.social.wordpress %}
124
+ <a href="https://{{ site.social.wordpress }}.wordpress.com/">
125
+ <span class="fab fa-2x fa-wordpress-simple"></span>
126
+ </a>
127
+ {% endif %}
128
+
129
+ {% if site.social.youtube %}
130
+ <a href="https:/www.youtube.com/user/{{ site.social.youtube }}">
131
+ <span class="fab fa-2x fa-youtube"></span>
132
+ </a>
133
+ {% endif %}
134
+
135
+ <!-- _includes/icons.html EOF-->
@@ -0,0 +1,28 @@
1
+ <!-- _includes/portfolio.html -->
2
+
3
+ {% include resolve-dark.liquid %}
4
+ {% if site.portfolio %}
5
+ <div class="d-flex flex-wrap justify-content-around">
6
+ {% for post in site.portfolio %}
7
+ <div class="card {% if dark %} bg-dark {% else %} bg-light text-dark {% endif %}
8
+ shadow rounded my-2"
9
+ style="max-width: 21rem;">
10
+ {% if post.img %}
11
+ <img src="{{ post.img }}" class="card-img-top" alt="logo">
12
+ {% endif %}
13
+ <div class="card-body">
14
+ <h3 class="card-title">{{ post.title }}</h3>
15
+ {% include tags.html %}
16
+ {% if post.description %}
17
+ <p class="card-text">{{ post.description }}</p>
18
+ {% endif %}
19
+ <a href="{{ post.url | absolute_url }}" class="btn btn-block stretched-link">
20
+ <span class="fas fa-plus"></span>
21
+ </a>
22
+ </div>
23
+ </div>
24
+ {% endfor %}
25
+ </div>
26
+ {% endif %}
27
+
28
+ <!-- _includes/portfolio.html EOF-->
@@ -0,0 +1,5 @@
1
+ {% if site.dark or page.dark %}
2
+ {% assign dark=true %}
3
+ {% else %}
4
+ {% assign dark=false %}
5
+ {% endif %}
@@ -0,0 +1,12 @@
1
+ <!-- _includes/tags.html -->
2
+
3
+ {% include resolve-dark.liquid %}
4
+ {% if post.tags %}
5
+ {% for tag in post.tags %}
6
+ <span class="badge badge-pill
7
+ {% if dark %} badge-light
8
+ {% else %} badge-dark {% endif %}">{{ tag }}</span>
9
+ {% endfor %}
10
+ {% endif %}
11
+
12
+ <!-- _includes/tags.html EOF-->
@@ -0,0 +1,22 @@
1
+ <!-- _includes/tail.html -->
2
+
3
+ </div>
4
+
5
+ <!-- Bootstrap -->
6
+
7
+ <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
8
+ integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
9
+ crossorigin="anonymous"></script>
10
+
11
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
12
+ integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
13
+ crossorigin="anonymous"></script>
14
+
15
+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
16
+ integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
17
+ crossorigin="anonymous"></script>
18
+
19
+ </body>
20
+ </html>
21
+
22
+ <!-- _includes/tail.html EOF-->
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+ <!-- _layouts/blog.html -->
5
+
6
+ {{ content }}
7
+
8
+ {% include blog.html %}
9
+
10
+ <!-- _layouts/blog.html EOF -->
@@ -0,0 +1,8 @@
1
+ <!-- _layouts/default.html -->
2
+
3
+ {% include head.html %}
4
+ {% include header.html %}
5
+ {{ content }}
6
+ {% include tail.html %}
7
+
8
+ <!-- _layouts/default.html EOF-->
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <!-- _layouts/home.html -->
6
+
7
+ <main id="intro-message" class="text-center lead mx-auto">
8
+ {{ content }}
9
+ </main>
10
+ {% include footer.html %}
11
+
12
+ <!-- _layouts/home.html EOF-->
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <!-- _layouts/page.html -->
5
+
6
+ {% include resolve-dark.liquid %}
7
+ <main class="{% if dark %} bg-dark
8
+ {% else %} bg-light text-dark {% endif %}
9
+ flex-fill p-4">
10
+ {{ content }}
11
+ <a href="#" class="btn btn-block">
12
+ <span class="fas fa-lg fa-angle-double-up"></span>
13
+ </a>
14
+ </main>
15
+ {% include footer.html %}
16
+
17
+ <!-- _layouts/page.html EOF-->
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+ <!-- _layouts/portfolio.html -->
5
+
6
+ {{ content }}
7
+ <hr>
8
+ {% include portfolio.html %}
9
+
10
+ <!-- _layouts/portfolio.html EOF-->
@@ -0,0 +1,23 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+ <!-- _layouts/post.html -->
5
+
6
+ <div>
7
+ {% if page.img %}
8
+ <img src="{{ page.img | absolute_url }}" class="img-fluid d-block mx-auto" alt="page.img">
9
+ <hr>
10
+ {% endif %}
11
+ <h1>{{ page.title }}</h1>
12
+ {% unless page.no-date %}
13
+ <h2 class="lead text-muted">{{ page.date | date_to_string }}</h2>
14
+ {% endunless %}
15
+ {% include tags.html %}
16
+ <hr>
17
+ </div>
18
+ <div>
19
+ {{ content }}
20
+ <hr>
21
+ </div>
22
+
23
+ <!-- _layouts/post.html EOF-->
@@ -0,0 +1,89 @@
1
+ .highlighter-rouge {
2
+ color: #282828;
3
+ background-color: #fbf1c7;
4
+ }
5
+
6
+ .highlight table td { padding: 5px; }
7
+ .highlight table pre { margin: 0; }
8
+ .highlight, .highlight .w {
9
+ color: #282828;
10
+ background-color: #fbf1c7;
11
+ }
12
+ .highlight .err {
13
+ color: #9d0006;
14
+ background-color: #fbf1c7;
15
+ font-weight: bold;
16
+ }
17
+ .highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
18
+ color: #928374;
19
+ font-style: italic;
20
+ }
21
+ .highlight .cp {
22
+ color: #427b58;
23
+ }
24
+ .highlight .nt {
25
+ color: #9d0006;
26
+ }
27
+ .highlight .o, .highlight .ow {
28
+ color: #282828;
29
+ }
30
+ .highlight .p, .highlight .pi {
31
+ color: #282828;
32
+ }
33
+ .highlight .gi {
34
+ color: #79740e;
35
+ background-color: #fbf1c7;
36
+ }
37
+ .highlight .gd {
38
+ color: #9d0006;
39
+ background-color: #fbf1c7;
40
+ }
41
+ .highlight .gh {
42
+ color: #79740e;
43
+ font-weight: bold;
44
+ }
45
+ .highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
46
+ color: #9d0006;
47
+ }
48
+ .highlight .kc {
49
+ color: #8f3f71;
50
+ }
51
+ .highlight .kt {
52
+ color: #b57614;
53
+ }
54
+ .highlight .kd {
55
+ color: #af3a03;
56
+ }
57
+ .highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
58
+ color: #79740e;
59
+ font-style: italic;
60
+ }
61
+ .highlight .si {
62
+ color: #79740e;
63
+ font-style: italic;
64
+ }
65
+ .highlight .sr {
66
+ color: #79740e;
67
+ font-style: italic;
68
+ }
69
+ .highlight .se {
70
+ color: #af3a03;
71
+ }
72
+ .highlight .nn {
73
+ color: #427b58;
74
+ }
75
+ .highlight .nc {
76
+ color: #427b58;
77
+ }
78
+ .highlight .no {
79
+ color: #8f3f71;
80
+ }
81
+ .highlight .na {
82
+ color: #79740e;
83
+ }
84
+ .highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
85
+ color: #8f3f71;
86
+ }
87
+ .highlight .ss {
88
+ color: #076678;
89
+ }
@@ -0,0 +1,89 @@
1
+ .highlighter-rouge {
2
+ color: #fbf1c7;
3
+ background-color: #282828;
4
+ }
5
+
6
+ .highlight table td { padding: 5px; }
7
+ .highlight table pre { margin: 0; }
8
+ .highlight, .highlight .w {
9
+ color: #fbf1c7;
10
+ background-color: #282828;
11
+ }
12
+ .highlight .err {
13
+ color: #fb4934;
14
+ background-color: #282828;
15
+ font-weight: bold;
16
+ }
17
+ .highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
18
+ color: #928374;
19
+ font-style: italic;
20
+ }
21
+ .highlight .cp {
22
+ color: #8ec07c;
23
+ }
24
+ .highlight .nt {
25
+ color: #fb4934;
26
+ }
27
+ .highlight .o, .highlight .ow {
28
+ color: #fbf1c7;
29
+ }
30
+ .highlight .p, .highlight .pi {
31
+ color: #fbf1c7;
32
+ }
33
+ .highlight .gi {
34
+ color: #b8bb26;
35
+ background-color: #282828;
36
+ }
37
+ .highlight .gd {
38
+ color: #fb4934;
39
+ background-color: #282828;
40
+ }
41
+ .highlight .gh {
42
+ color: #b8bb26;
43
+ font-weight: bold;
44
+ }
45
+ .highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
46
+ color: #fb4934;
47
+ }
48
+ .highlight .kc {
49
+ color: #d3869b;
50
+ }
51
+ .highlight .kt {
52
+ color: #fabd2f;
53
+ }
54
+ .highlight .kd {
55
+ color: #fe8019;
56
+ }
57
+ .highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
58
+ color: #b8bb26;
59
+ font-style: italic;
60
+ }
61
+ .highlight .si {
62
+ color: #b8bb26;
63
+ font-style: italic;
64
+ }
65
+ .highlight .sr {
66
+ color: #b8bb26;
67
+ font-style: italic;
68
+ }
69
+ .highlight .se {
70
+ color: #fe8019;
71
+ }
72
+ .highlight .nn {
73
+ color: #8ec07c;
74
+ }
75
+ .highlight .nc {
76
+ color: #8ec07c;
77
+ }
78
+ .highlight .no {
79
+ color: #d3869b;
80
+ }
81
+ .highlight .na {
82
+ color: #b8bb26;
83
+ }
84
+ .highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
85
+ color: #d3869b;
86
+ }
87
+ .highlight .ss {
88
+ color: #83a598;
89
+ }
@@ -0,0 +1,96 @@
1
+ ---
2
+ ---
3
+
4
+ /* wallpaper */
5
+
6
+ html, body {
7
+ height: 100%;
8
+ line-height: 2;
9
+ }
10
+
11
+ body {
12
+ background: linear-gradient(
13
+ rgba(0, 0, 0, {{ site.overlay-top }}),
14
+ rgba(0, 0, 0, {{ site.overlay-bottom }})
15
+ ), url({{ site.background-img | absolute_url }}) center center;
16
+ -webkit-background-size: cover;
17
+ -moz-background-size: cover;
18
+ -o-background-size: cover;
19
+ background-size: cover;
20
+ background-repeat: no-repeat;
21
+ background-attachment: fixed;
22
+ margin: 0;
23
+ }
24
+
25
+ /* Google fonts */
26
+
27
+ {% if site.google-fonts.main-font %}
28
+ {% assign main = site.google-fonts.main-font | split: ":" %}
29
+
30
+ body {
31
+ font-family: {{ main.first | replace: "+", " " }};
32
+ }
33
+
34
+ {% endif %}
35
+
36
+ {% if site.google-fonts.header-font %}
37
+ {% assign header = site.google-fonts.header-font | split: ":" %}
38
+
39
+ h1, h2,
40
+ h3, h4,
41
+ h5, h6 {
42
+ font-family: {{ header.first | replace: "+", " " }};
43
+ }
44
+
45
+ {% endif %}
46
+
47
+ {% if site.google-fonts.code-font %}
48
+ {% assign code = site.google-fonts.code-font | split: ":" %}
49
+
50
+ code, pre {
51
+ font-family: {{ code.first | replace: "+", " " }}, moospace;
52
+ }
53
+
54
+ {% endif %}
55
+
56
+ /* Landing page */
57
+
58
+ #intro-message {
59
+ max-width: {{ site.intro-width }};
60
+ }
61
+
62
+ /* link-color */
63
+
64
+ {% if site.link-color %}
65
+
66
+ $link-color: {{ site.link-color }};
67
+
68
+ a {
69
+ color: $link-color;
70
+ }
71
+
72
+ a:hover {
73
+ color: darken($link-color, 15%);
74
+ }
75
+
76
+ {% endif %}
77
+
78
+ /* Code */
79
+
80
+ pre, code {
81
+ font-size: 100%;
82
+ }
83
+
84
+ pre {
85
+ padding: 1rem;
86
+ }
87
+
88
+ code {
89
+ padding: 1px 5px;
90
+ border-radius: 3px;
91
+ }
92
+
93
+ .highlighter-rouge {
94
+ margin-block-start: 1rem;
95
+ margin-block-end: 1rem;
96
+ }
@@ -0,0 +1,88 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ width="1511.5178"
13
+ height="1511.5178"
14
+ viewBox="0 0 399.9224 399.92243"
15
+ version="1.1"
16
+ id="svg8"
17
+ inkscape:version="0.92.1 r15371"
18
+ sodipodi:docname="profile.svg">
19
+ <defs
20
+ id="defs2" />
21
+ <sodipodi:namedview
22
+ id="base"
23
+ pagecolor="#ffffff"
24
+ bordercolor="#666666"
25
+ borderopacity="1.0"
26
+ inkscape:pageopacity="0.0"
27
+ inkscape:pageshadow="2"
28
+ inkscape:zoom="0.47504143"
29
+ inkscape:cx="764.17918"
30
+ inkscape:cy="835.75886"
31
+ inkscape:document-units="px"
32
+ inkscape:current-layer="layer1"
33
+ showgrid="false"
34
+ borderlayer="true"
35
+ showborder="true"
36
+ inkscape:showpageshadow="false"
37
+ fit-margin-top="10"
38
+ fit-margin-left="10"
39
+ fit-margin-right="10"
40
+ fit-margin-bottom="10"
41
+ units="px"
42
+ inkscape:window-width="1920"
43
+ inkscape:window-height="1016"
44
+ inkscape:window-x="0"
45
+ inkscape:window-y="27"
46
+ inkscape:window-maximized="1" />
47
+ <metadata
48
+ id="metadata5">
49
+ <rdf:RDF>
50
+ <cc:Work
51
+ rdf:about="">
52
+ <dc:format>image/svg+xml</dc:format>
53
+ <dc:type
54
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
55
+ <dc:title></dc:title>
56
+ </cc:Work>
57
+ </rdf:RDF>
58
+ </metadata>
59
+ <g
60
+ inkscape:label="Layer 1"
61
+ inkscape:groupmode="layer"
62
+ id="layer1"
63
+ transform="translate(-40.038794,88.469339)">
64
+ <circle
65
+ style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#fffefe;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.7626729;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
66
+ id="path4607"
67
+ cx="240"
68
+ cy="111.49187"
69
+ r="195.43404" />
70
+ <path
71
+ style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.91471148;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
72
+ d="m 239.90362,-68.697943 c -1.34085,-0.02265 -2.67089,0.37917 -3.67729,1.211208 L 61.591514,76.891962 c -2.012799,1.664075 -1.944987,4.39974 0.151929,6.133357 l 12.68708,10.488998 c 2.096915,1.733617 5.405353,1.789255 7.418152,0.125179 L 110.31774,70.102803 v 159.549727 14.83354 0.61522 c 0,2.35337 2.38716,4.24799 5.35264,4.24799 h 17.94257 c 73.66936,-1.07714 148.00943,-0.45096 211.1866,0 h 17.94256 c 2.96551,-3e-5 5.35266,-1.89462 5.35266,-4.24799 V 68.790343 l 30.05656,24.849153 c 2.01279,1.664076 5.32122,1.60844 7.41815,-0.125179 l 12.68708,-10.488998 c 2.09691,-1.733612 2.16472,-4.469282 0.15193,-6.133357 L 243.77367,-67.486735 c -1.03048,-0.851946 -2.40067,-1.249686 -3.77393,-1.205653 -0.032,-8.26e-4 -0.0641,-0.005 -0.0961,-0.0058 z m 0.0966,31.58662 99.44665,82.217149 V 225.22683 H 138.9656 V 46.418286 Z"
73
+ id="rect4487"
74
+ inkscape:connector-curvature="0"
75
+ sodipodi:nodetypes="cssssscccsscccscccscsccccccccc" />
76
+ <g
77
+ aria-label="W"
78
+ style="font-style:normal;font-weight:normal;font-size:5.29166651px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
79
+ id="text4509"
80
+ transform="matrix(5.1154434,0,0,5.1154434,-827.44947,78.431125)">
81
+ <path
82
+ d="m 225.2209,-1.5181686 q 0.19844,-0.6201171 0.19844,-1.0914062 0,-0.5953125 -0.29766,-0.9177734 -0.59531,-0.5705078 -2.1332,-0.6449219 l -0.81856,-0.049609 q -0.14883,0 -0.29765,-0.099219 -0.12403,-0.1240234 -0.12403,-0.2976563 v -0.9673828 l 0.12403,-0.099219 q 4.06796,0.099219 5.58105,0.099219 0.89297,0 4.66328,-0.099219 l 0.0992,0.099219 v 0.9673828 q 0,0.396875 -0.39688,0.396875 -1.93476,0.099219 -2.85253,0.9425781 -0.91778,0.8185547 -1.46348,2.35644532 l -9.5002,27.53320298 q -0.37207,1.190625 -1.36425,1.190625 -1.16582,0 -1.5875,-1.240235 L 209.09785,8.5277297 q -0.49609,-1.4138671 -0.69453,-1.4138671 -0.32246,0 -0.71934,1.265039 l -6.05234,18.1818354 q -0.34727,1.240235 -1.41387,1.240235 -1.19062,0 -1.56269,-1.240235 l -9.25215,-27.6324212 q -0.69453,-2.058789 -1.24023,-2.5548828 -0.5209,-0.4960937 -2.20762,-0.5953125 -0.62012,-0.099219 -0.62012,-0.3472656 v -1.0169922 l 0.0992,-0.099219 q 4.06797,0.099219 4.93613,0.099219 1.01699,0 5.77949,-0.099219 l 0.0992,0.099219 v 0.9673828 q 0,0.396875 -0.44648,0.396875 l -1.11621,0.049609 q -1.43867,0.074414 -1.43867,0.9673828 0,0.4216797 0.32246,1.3394531 l 7.61504,23.4156246 h 0.0992 l 5.38262,-16.8175778 q 0.34727,-1.0914062 0.34727,-1.9347656 0,-0.79375 -0.24805,-1.4138672 l -0.74414,-2.35644525 q -0.19844,-0.62011715 -0.39687,-1.04179685 -0.19844,-0.4216797 -0.62012,-0.9673828 -0.39688,-0.5705078 -1.09141,-0.8681641 -0.69453,-0.3224609 -1.66191,-0.3720703 -0.62012,0 -0.62012,-0.3472656 v -1.0169922 l 0.12402,-0.099219 q 4.06797,0.099219 5.20899,0.099219 1.43867,0 6.20117,-0.099219 l 0.0992,0.099219 v 1.0169922 q 0,0.3472656 -0.44649,0.3472656 l -1.46347,0.099219 q -1.43867,0.099219 -1.43867,1.5130859 0,0.6697266 0.32246,1.63710935 l 7.29257,22.62187465 h 0.12403 z"
83
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:50.79999924px;line-height:126.99999809%;font-family:'UKIJ Zilwa';-inkscape-font-specification:'UKIJ Zilwa';stroke-width:0.26458332px"
84
+ id="path4511"
85
+ inkscape:connector-curvature="0" />
86
+ </g>
87
+ </g>
88
+ </svg>
Binary file
metadata ADDED
@@ -0,0 +1,112 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-wallpaper-home
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - rmvegasm
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-04-25 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: '3.8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.16'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '12.0'
55
+ description:
56
+ email:
57
+ - rmvegasm@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _includes/blog.html
65
+ - _includes/footer.html
66
+ - _includes/head.html
67
+ - _includes/header.html
68
+ - _includes/icons.html
69
+ - _includes/portfolio.html
70
+ - _includes/resolve-dark.liquid
71
+ - _includes/tags.html
72
+ - _includes/tail.html
73
+ - _layouts/blog.html
74
+ - _layouts/default.html
75
+ - _layouts/home.html
76
+ - _layouts/page.html
77
+ - _layouts/portfolio.html
78
+ - _layouts/post.html
79
+ - assets/css/gruvbox-light.css
80
+ - assets/css/gruvbox.css
81
+ - assets/css/wallpaper-home.scss
82
+ - assets/img/portfolio/bootstrap.png
83
+ - assets/img/portfolio/github-pages.png
84
+ - assets/img/portfolio/jekyll.png
85
+ - assets/img/portfolio/liquid.png
86
+ - assets/img/profile.svg
87
+ - assets/img/wallpaper.jpg
88
+ homepage: https://github.com/rmvegasm/jekyll-theme-wallpaper-home
89
+ licenses:
90
+ - MIT
91
+ metadata: {}
92
+ post_install_message:
93
+ rdoc_options: []
94
+ require_paths:
95
+ - lib
96
+ required_ruby_version: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ required_rubygems_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ requirements: []
107
+ rubyforge_project:
108
+ rubygems_version: 2.5.2.1
109
+ signing_key:
110
+ specification_version: 4
111
+ summary: A simple jekyll theme for a personal page.
112
+ test_files: []