jekyll-theme-simple-blog 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{404.md → 404-en.md} +6 -2
- data/404-it.md +16 -0
- data/README.md +137 -203
- data/_includes/article-author-bio-small.html +26 -0
- data/_includes/facebook-comments.html +8 -0
- data/_includes/facebook-like-post.html +8 -0
- data/_includes/facebook-page-message.html +11 -0
- data/_includes/facebook-page-summary.html +11 -0
- data/_includes/footer.html +76 -0
- data/_includes/get-page-url.html +2 -0
- data/_includes/go-to-home-page.html +6 -0
- data/_includes/language-meta-link.html +18 -0
- data/_includes/language-selector.html +35 -0
- data/_includes/list-category-posts.html +37 -0
- data/_includes/post-meta-info.html +27 -0
- data/_includes/read-time.html +13 -0
- data/_includes/site-header.html +4 -3
- data/_includes/social-metatags.html +58 -34
- data/_layouts/category.html +11 -0
- data/_layouts/default.html +107 -77
- data/_layouts/home.html +0 -21
- data/_layouts/post.html +18 -12
- data/_layouts/rss-feed.xml +29 -0
- data/_sass/blog.scss +5 -4
- data/_sass/blog/_extra.scss +27 -0
- data/_sass/blog/_layout.scss +19 -2
- data/_sass/jekyll-theme-simple-blog.scss +24 -5
- data/_sass/variables.scss +2 -2
- data/{about.md → about-en.md} +19 -15
- data/about-it.md +19 -0
- data/assets/img/en.png +0 -0
- data/assets/img/home-header.jpg +0 -0
- data/assets/img/it.png +0 -0
- data/assets/img/profile-225.png +0 -0
- data/assets/img/profile-60.png +0 -0
- data/assets/patterns/404.png +0 -0
- data/{contact.md → contact-en.md} +9 -1
- data/contact-it.md +26 -0
- data/feed-en.xml +6 -0
- data/feed-it.xml +6 -0
- data/index-en.md +50 -0
- data/index-it.md +50 -0
- data/now-en.md +20 -0
- data/now-it.md +21 -0
- data/projects-en.md +20 -0
- data/projects-it.md +19 -0
- data/sitemaps.xml +37 -0
- metadata +40 -7
- data/index.md +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3906a4fc220a44c60f4faa0134d085f4842c82a2
|
4
|
+
data.tar.gz: 341fa0fabf0873f9d6042d6d8ebe23b1093e1e28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69ffd8bbd4bb14944950353e5ac7cb9d434d8e2c598f38fc0574e6adb491e3a75dce88fe42a0ab5596a04f3092d1ea5535e93f38813ff4b82186af3bcb254ef3
|
7
|
+
data.tar.gz: 27f233da861880e6f152743769164a9f5c423bd8ce197a383cc5b15166a0c73f254a32eb35f6a3469caeaa22dcca8ce34088441b08b3a63e1549d47e82af270e
|
data/{404.md → 404-en.md}
RENAMED
@@ -2,11 +2,15 @@
|
|
2
2
|
layout: page
|
3
3
|
title: 404 Error
|
4
4
|
tagline: Ah snap! We could not find what you are looking for!
|
5
|
+
excerpt: >
|
6
|
+
Ah snap! We could not find what you are looking for!
|
5
7
|
permalink: /404.html
|
6
8
|
header:
|
7
|
-
image: /assets/patterns/
|
9
|
+
image: /assets/patterns/404.png
|
10
|
+
ref: 404page
|
11
|
+
lang: en
|
8
12
|
---
|
9
13
|
|
10
14
|
Try got get back to the Home Page and start over!
|
11
15
|
|
12
|
-
|
16
|
+
{% include go-to-home-page.html %}
|
data/404-it.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: Errore 404
|
4
|
+
tagline: Ah cavoletti! Non siamo riusciti a trovare la pagina!
|
5
|
+
excerpt: >
|
6
|
+
Ah cavoletti! Non siamo riusciti a trovare la pagina!
|
7
|
+
permalink: /404-it.html
|
8
|
+
header:
|
9
|
+
image: /assets/patterns/404.png
|
10
|
+
ref: 404page
|
11
|
+
lang: it
|
12
|
+
---
|
13
|
+
|
14
|
+
Prova a tornare alla Home Page e ricomincia da capo!
|
15
|
+
|
16
|
+
{% include go-to-home-page.html %}
|
data/README.md
CHANGED
@@ -1,203 +1,137 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
Simple Blog
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
```
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
###
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
```
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
```liquid
|
140
|
-
{% seo %}
|
141
|
-
```
|
142
|
-
|
143
|
-
For more information about configuring this plugin, see the official [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag) page.
|
144
|
-
|
145
|
-
|
146
|
-
### Stylesheet
|
147
|
-
|
148
|
-
If you'd like to add your own custom styles:
|
149
|
-
|
150
|
-
1. Create a file called `/assets/css/style.scss` in your site
|
151
|
-
2. Add the following content to the top of the file, exactly as shown:
|
152
|
-
```scss
|
153
|
-
---
|
154
|
-
---
|
155
|
-
|
156
|
-
@import "{{ site.theme }}";
|
157
|
-
```
|
158
|
-
3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
|
159
|
-
|
160
|
-
### Layouts
|
161
|
-
|
162
|
-
If you'd like to change the theme's HTML layout:
|
163
|
-
|
164
|
-
1. [Copy the original template](https://github.com/lorepirri/jekyll-theme-simple-blog/blob/master/_layouts/default.html) from the theme's repository<br />(*Pro-tip: click "raw" to make copying easier*)
|
165
|
-
2. Create a file called `/_layouts/default.html` in your site
|
166
|
-
3. Paste the default layout content copied in the first step
|
167
|
-
4. Customize the layout as you'd like
|
168
|
-
|
169
|
-
### Sass variables
|
170
|
-
|
171
|
-
If you'd like to change the theme's [Sass variables](https://github.com/lorepirri/jekyll-theme-simple-blog/blob/master/_sass/variables.scss), set new values before the `@import` line in your stylesheet:
|
172
|
-
|
173
|
-
```scss
|
174
|
-
$section-headings-color: #0086b3;
|
175
|
-
|
176
|
-
@import "{{ site.theme }}";
|
177
|
-
```
|
178
|
-
|
179
|
-
## Roadmap
|
180
|
-
|
181
|
-
See the [open issues](https://github.com/lorepirri/jekyll-theme-simple-blog/issues) for a list of proposed features (and known issues).
|
182
|
-
|
183
|
-
## Project philosophy
|
184
|
-
|
185
|
-
The Simple Blog Theme is intended to make it quick and easy for GitHub Pages users to create their first (or 100th) website. The theme should meet the vast majority of users' needs out of the box, erring on the side of simplicity rather than flexibility, and provide users the opportunity to opt-in to additional complexity if they have specific needs or wish to further customize their experience (such as adding custom CSS or modifying the default layout). It should also look great, but that goes without saying.
|
186
|
-
|
187
|
-
## Contributing
|
188
|
-
|
189
|
-
Interested in contributing to Simple Blog? We'd love your help. Simple Blog is an open source project, built one contribution at a time by users like you. See [the CONTRIBUTING file](CONTRIBUTING.md) for instructions on how to contribute.
|
190
|
-
|
191
|
-
### Previewing the theme locally
|
192
|
-
|
193
|
-
If you'd like to preview the theme locally (for example, in the process of proposing a change):
|
194
|
-
|
195
|
-
1. Clone down the theme's repository (`git clone https://github.com/lorepirri/jekyll-theme-simple-blog`)
|
196
|
-
2. `cd` into the theme's directory
|
197
|
-
3. Run `script/bootstrap` to install the necessary dependencies
|
198
|
-
4. Run `script/server` to start the preview server
|
199
|
-
5. Visit [`localhost:4000`](http://localhost:4000) in your browser to preview the theme
|
200
|
-
|
201
|
-
### Running tests
|
202
|
-
|
203
|
-
The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the tests, simply run `script/cibuild`. You'll need to run `script/bootstrap` one before the test script will work.
|
1
|
+
![Jekyll Version](https://img.shields.io/badge/Jekyll-3.1.2-red.svg)
|
2
|
+
![Build Status](https://gitlab.com/jekyll-themes/default-bundler/badges/master/build.svg)
|
3
|
+
|
4
|
+
----
|
5
|
+
|
6
|
+
View Demo: https://lorepirri.gitlab.io/jekyll-theme-simple-blog/
|
7
|
+
|
8
|
+
-----
|
9
|
+
# Simple Blog Theme
|
10
|
+
|
11
|
+
*Simple Blog is a Jekyll theme for Gitlab or GitHub Pages. It is based on [Cayman Blog Theme](https://github.com/lorepirri/cayman-blog). You can [preview the theme to see what it looks like](https://lorepirri.gitlab.io/jekyll-theme-simple-blog/), or even [use it today](#install).*
|
12
|
+
|
13
|
+
<img src="https://gitlab.com/lorepirri/jekyll-theme-simple-blog/raw/master/simple-blog-theme.png" alt="Thumbnail of jekyll-theme-simple-blog" style="max-width:30%; border: 1px solid grey;"/>
|
14
|
+
|
15
|
+
## Features
|
16
|
+
|
17
|
+
- Blog
|
18
|
+
- Responsive
|
19
|
+
- Minimal
|
20
|
+
- Multi-language
|
21
|
+
- SEO optimized for Facebook preview
|
22
|
+
- Facebook plugins integration (Page, Comments, Messenger, Like)
|
23
|
+
- Facebook Mirring Comments
|
24
|
+
- Social buttons (facebook, instagram, linkedin, twitter, github, gitlab)
|
25
|
+
- RSS feed multi-language
|
26
|
+
|
27
|
+
## Install
|
28
|
+
|
29
|
+
Simple Blog Theme is 100% compatible with GitLab and GitHub Pages.
|
30
|
+
|
31
|
+
### Install as a Fork
|
32
|
+
|
33
|
+
1. [Fork the repo](https://gitlab.com/lorepirri/jekyll-theme-simple-blog)
|
34
|
+
2. Clone down the repo with one of the two:
|
35
|
+
* ssh `$ git clone git@gitlab.com:your-username/jekyll-theme-simple-blog.git`
|
36
|
+
* https: `$ git clone https://gitlab.com/lorepirri/jekyll-theme-simple-blog.git`
|
37
|
+
3. Empty the `_posts/` folder
|
38
|
+
4. Install bundler and gems with `$ script/bootstrap`
|
39
|
+
5. Run Jekyll with `$ script/server`
|
40
|
+
6. Modify `_config.yml`, `about-en.md`, `contact-en.md`, and the other pages for your project
|
41
|
+
6. Write your posts in `_posts/en` and `_posts/<other-language>`
|
42
|
+
7. [Customize the theme](customizing)
|
43
|
+
|
44
|
+
### SEO tags
|
45
|
+
|
46
|
+
Simple Blog includes simple SEO tags from [jekyll-social-metatags](https://github.com/lorepirri/jekyll-social-metatags). Have a look at the page for its usage.
|
47
|
+
|
48
|
+
The usage is compatible with the plugin [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag), which provides a battle-tested template of crowdsourced best-practices.
|
49
|
+
|
50
|
+
To switch to a better SEO tags however, one should install [Jekyll Feed plugin](https://github.com/jekyll/jekyll-feed):
|
51
|
+
|
52
|
+
1. Add this line to your site's Gemfile:
|
53
|
+
|
54
|
+
```ruby
|
55
|
+
gem 'jekyll-seo-tag'
|
56
|
+
```
|
57
|
+
|
58
|
+
2. And then add this line to your site's `_config.yml`:
|
59
|
+
|
60
|
+
```yml
|
61
|
+
gems:
|
62
|
+
- jekyll-seo-tag
|
63
|
+
```
|
64
|
+
|
65
|
+
3. Replace with the following, the `<!-- jekyll-seo-tag -->` comment in your site's `default.html`:
|
66
|
+
|
67
|
+
```liquid
|
68
|
+
{% seo %}
|
69
|
+
```
|
70
|
+
|
71
|
+
For more information about configuring this plugin, see the official [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag) page.
|
72
|
+
|
73
|
+
|
74
|
+
### Stylesheet
|
75
|
+
|
76
|
+
If you'd like to add your own custom styles:
|
77
|
+
|
78
|
+
1. Create a file called `/assets/css/style.scss` in your site
|
79
|
+
2. Add the following content to the top of the file, exactly as shown:
|
80
|
+
```scss
|
81
|
+
---
|
82
|
+
---
|
83
|
+
|
84
|
+
@import "{{ site.theme }}";
|
85
|
+
```
|
86
|
+
3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
|
87
|
+
|
88
|
+
### Layouts
|
89
|
+
|
90
|
+
If you'd like to change the theme's HTML layout:
|
91
|
+
|
92
|
+
1. [Copy the original template](https://gitlab.com/lorepirri/jekyll-theme-simple-blog/blob/master/_layouts/default.html) from the theme's repository<br />(*Pro-tip: click "raw" to make copying easier*)
|
93
|
+
2. Create a file called `/_layouts/default.html` in your site
|
94
|
+
3. Paste the default layout content copied in the first step
|
95
|
+
4. Customize the layout as you'd like
|
96
|
+
|
97
|
+
### Sass variables
|
98
|
+
|
99
|
+
If you'd like to change the theme's [Sass variables](https://gitlab.com/lorepirri/jekyll-theme-simple-blog/blob/master/_sass/variables.scss), set new values before the `@import` line in your stylesheet:
|
100
|
+
|
101
|
+
```scss
|
102
|
+
$section-headings-color: #0086b3;
|
103
|
+
|
104
|
+
@import "{{ site.theme }}";
|
105
|
+
```
|
106
|
+
|
107
|
+
## Roadmap
|
108
|
+
|
109
|
+
See the [open issues](https://gitlab.com/lorepirri/jekyll-theme-simple-blog/issues) for a list of proposed features (and known issues).
|
110
|
+
|
111
|
+
## Project philosophy
|
112
|
+
|
113
|
+
The Simple Blog Theme is intended to make it quick and easy for Gitlab or GitHub Pages users to create their first (or 100th) website. The theme should meet the vast majority of users' needs out of the box, erring on the side of simplicity rather than flexibility, and provide users the opportunity to opt-in to additional complexity if they have specific needs or wish to further customize their experience (such as adding custom CSS or modifying the default layout). It should also look great, but that goes without saying.
|
114
|
+
|
115
|
+
## Contributing
|
116
|
+
|
117
|
+
Interested in contributing to Simple Blog? We'd love your help. Simple Blog is an open source project, built one contribution at a time by users like you. See [the CONTRIBUTING file](CONTRIBUTING.md) for instructions on how to contribute.
|
118
|
+
|
119
|
+
### Previewing the theme locally
|
120
|
+
|
121
|
+
If you'd like to preview the theme locally (for example, in the process of proposing a change):
|
122
|
+
|
123
|
+
1. Clone down the theme's repository (`git clone https://gitlab.com/lorepirri/jekyll-theme-simple-blog`)
|
124
|
+
2. `cd` into the theme's directory
|
125
|
+
3. Run `script/bootstrap` to install the necessary dependencies
|
126
|
+
4. Run `script/server` to start the preview server
|
127
|
+
5. Visit [`localhost:4000`](http://localhost:4000) in your browser to preview the theme
|
128
|
+
|
129
|
+
|
130
|
+
[`.gitlab-ci.yml`]: https://gitlab.com/jekyll-themes/default-bundler/blob/master/.gitlab-ci.yml
|
131
|
+
[`Gemfile`]: https://gitlab.com/jekyll-themes/default-bundler/blob/master/Gemfile
|
132
|
+
[`.gitignore`]: https://gitlab.com/jekyll-themes/default-bundler/blob/master/.gitignore
|
133
|
+
[`_config.yml`]: https://gitlab.com/jekyll-themes/default-bundler/blob/master/_config.yml
|
134
|
+
|
135
|
+
[Bundler]: http://bundler.io/
|
136
|
+
[Jekyll]: http://jekyllrb.com/
|
137
|
+
[jek-312]: https://rubygems.org/gems/jekyll/versions/3.1.2
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{% assign page_author_name = page.author.name | default: site.author.name | default: nil | escape %}
|
2
|
+
{% assign page_author_id = page.facebook.authors | default: site.facebook.authors | default: nil | escape | first %}
|
3
|
+
{% assign page_author_short_bio = page.author.short_bio[page.lang] | default: site.author.short_bio[page.lang] | default: nil | escape %}
|
4
|
+
{% assign page_author_picture = page.author.picture | default: site.author.picture | default: nil | escape %}
|
5
|
+
|
6
|
+
{% if page_author_name %}
|
7
|
+
<div class="author-article">
|
8
|
+
<div class="author-picture">
|
9
|
+
<a href="https://www.facebook.com/{{ page_author_id }}" target="_blank">
|
10
|
+
<img src="{{ page_author_picture }}" class="author-image" alt="{{ page_author_name }} {{ site.t[page.lang].on-word }} Facebook">
|
11
|
+
</a>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<div class="author-bio">
|
15
|
+
<a href="https://www.facebook.com/{{ page_author_id }}" target="_blank">
|
16
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">
|
17
|
+
{{ page_author_name }}
|
18
|
+
</span></span>
|
19
|
+
</a>
|
20
|
+
<div class="post-meta-list">{{ page_author_short_bio }}</div>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
{% endif %}
|
24
|
+
<div class="post-meta">
|
25
|
+
{% include post-meta-info.html post_date=page.date post_url=page.url post_lang=page.lang %}
|
26
|
+
</div>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{% if site.facebook.publisher_id %}
|
2
|
+
<div style="padding-top: 40px; text-align: center; display: block; word-wrap: break-word; -webkit-font-smoothing: antialiased;">
|
3
|
+
<div>
|
4
|
+
{% assign canonical_url = page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url %}
|
5
|
+
<div class="fb-comments" data-href="{{ canonical_url }}" data-numposts="5" width="100%"></div>
|
6
|
+
</div>
|
7
|
+
</div>
|
8
|
+
{% endif %}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{% if site.facebook.publisher_id %}
|
2
|
+
<div style="text-align: left; display: block; word-wrap: break-word; -webkit-font-smoothing: antialiased;">
|
3
|
+
<div>
|
4
|
+
{% assign canonical_url = page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url %}
|
5
|
+
<div class="fb-like" data-href="{{ canonical_url }}" data-layout="button_count" data-action="like" data-size="large" data-show-faces="false" data-share="true"></div>
|
6
|
+
</div>
|
7
|
+
</div>
|
8
|
+
{% endif %}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{% if site.facebook.publisher_id %}
|
2
|
+
<div style="text-align: center; display: block; word-wrap: break-word; -webkit-font-smoothing: antialiased;">
|
3
|
+
<div>
|
4
|
+
<div class="fb-page" data-href="https://www.facebook.com/{{ site.facebook.publisher_id }}/" data-tabs="messages" data-small-header="true" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="false">
|
5
|
+
<blockquote cite="https://www.facebook.com/{{ site.facebook.publisher_id }}/" class="fb-xfbml-parse-ignore">
|
6
|
+
<a href="https://www.facebook.com/{{ site.facebook.publisher_id }}/">Loading...</a>
|
7
|
+
</blockquote>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
{% endif %}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{% if site.facebook.publisher_id %}
|
2
|
+
<div style="text-align: center; display: block; word-wrap: break-word; -webkit-font-smoothing: antialiased;">
|
3
|
+
<div>
|
4
|
+
<div class="fb-page" data-href="https://www.facebook.com/{{ site.facebook.publisher_id }}/" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true">
|
5
|
+
<blockquote cite="https://www.facebook.com/{{ site.facebook.publisher_id }}/" class="fb-xfbml-parse-ignore">
|
6
|
+
<a href="https://www.facebook.com/{{ site.facebook.publisher_id }}/">Loading...</a>
|
7
|
+
</blockquote>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
{% endif %}
|