paloma-jekyll 0.1.2 → 0.3.4
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 +4 -4
- data/README.md +3 -1
- data/_config.yml +17 -0
- data/_includes/footer.html +5 -0
- data/_includes/header.html +0 -1
- data/_layouts/default.html +7 -0
- data/_layouts/post.html +9 -0
- data/_sass/_theme.scss +47 -33
- data/assets/fonts/EBGaramond-Bold.ttf +0 -0
- data/assets/fonts/EBGaramond-Regular.ttf +0 -0
- data/assets/manifest.json +27 -0
- metadata +6 -3
- data/_includes/nav.html +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd84344cb2477ce507f9ed3de23d05b40a05cbce23c2882e5c76c80471533e01
|
4
|
+
data.tar.gz: de83dff893c0e0355c3130712b17c560b0a1826fa2618827d7c6fa68090c8a89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1de326ad3df78da00668ba4ff628b57ca9500331fdba2fbd2854018833dc353502a7602bdc6043f21e004d79650de71763dfef4332245fbfc946c03177273a7
|
7
|
+
data.tar.gz: ab174136bd98d3217b97b06475f8d4edb91f1d4e7950781a51ac02a7700cabc555517061abc8315a3883fdc4129ef2c3a5e00b505831d45a38f3b2467c99b743
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
+
[](https://rubygems.org/gems/paloma-jekyll)
|
2
|
+
|
1
3
|
# paloma-jekyll
|
2
4
|
|
3
|
-
|
5
|
+
Paloma Jekyll is a utilitarian theme for publishing your articles.
|
4
6
|
|
5
7
|
To experiment with this theme as a standalone website, add some sample content and run `bundle exec jekyll serve`.
|
6
8
|
|
data/_config.yml
CHANGED
@@ -8,3 +8,20 @@ navigation_header:
|
|
8
8
|
url: /
|
9
9
|
- title: docs
|
10
10
|
url: /docs/
|
11
|
+
|
12
|
+
logo: ""
|
13
|
+
title: "Paloma Jekyll"
|
14
|
+
short_name: ""
|
15
|
+
description: "Paloma Jekyll is a utilitarian theme for publishing your articles. "
|
16
|
+
lang: "en-US"
|
17
|
+
url: ""
|
18
|
+
|
19
|
+
favicons:
|
20
|
+
16: '/assets/logos/logo@16px.png'
|
21
|
+
32: '/assets/logos/logo@32px.png'
|
22
|
+
96: '/assets/logos/logo@96px.png'
|
23
|
+
120: '/assets/logos/logo@120px.png'
|
24
|
+
144: '/assets/logos/logo@144px.png'
|
25
|
+
180: '/assets/logos/logo@180px.png'
|
26
|
+
512: '/assets/logos/logo@512px.png'
|
27
|
+
1024: '/assets/logos/logo@1024px.png'
|
data/_includes/header.html
CHANGED
data/_layouts/default.html
CHANGED
@@ -2,7 +2,12 @@
|
|
2
2
|
<html lang="{{ site.lang | default: "en-US" }}">
|
3
3
|
|
4
4
|
<head>
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
5
7
|
<link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
|
8
|
+
<link rel="manifest" href="{{ "/manifest.json" | relative_url }}">
|
9
|
+
<meta name="theme-color" content="{{ site.manifest.theme_color | default: '#242e2b' }}"/>
|
10
|
+
<title>{{ site.title }}</title>
|
6
11
|
</head>
|
7
12
|
|
8
13
|
<body>
|
@@ -15,6 +20,8 @@
|
|
15
20
|
</div>
|
16
21
|
</div>
|
17
22
|
</div>
|
23
|
+
|
24
|
+
{% include footer.html %}
|
18
25
|
</body>
|
19
26
|
</html>
|
20
27
|
|
data/_layouts/post.html
CHANGED
@@ -2,7 +2,12 @@
|
|
2
2
|
<html lang="{{ site.lang | default: "en-US" }}">
|
3
3
|
|
4
4
|
<head>
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
5
7
|
<link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
|
8
|
+
<link rel="manifest" href="{{ "/manifest.json" | relative_url }}">
|
9
|
+
<meta name="theme-color" content="{{ site.manifest.theme_color | default: '#242e2b' }}"/>
|
10
|
+
<title>{{ page.title }}</title>
|
6
11
|
</head>
|
7
12
|
|
8
13
|
<body>
|
@@ -11,10 +16,14 @@
|
|
11
16
|
<div class="wrap">
|
12
17
|
<div class="container">
|
13
18
|
<article class="article">
|
19
|
+
<span class="article-date">{{ page.date | date: "%-d %B %Y" }}</span>
|
14
20
|
{{ content }}
|
15
21
|
</article>
|
16
22
|
</div>
|
17
23
|
</div>
|
24
|
+
|
25
|
+
{% include footer.html %}
|
26
|
+
|
18
27
|
</body>
|
19
28
|
</html>
|
20
29
|
|
data/_sass/_theme.scss
CHANGED
@@ -1,11 +1,38 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: "Garamond";
|
3
|
+
font-weight: normal;
|
4
|
+
src: url("fonts/EBGaramond-Regular.ttf");
|
5
|
+
}
|
6
|
+
|
7
|
+
@font-face {
|
8
|
+
font-family: "Garamond";
|
9
|
+
font-weight: bold;
|
10
|
+
src: url("fonts/EBGaramond-Bold.ttf");
|
11
|
+
}
|
12
|
+
|
1
13
|
body {
|
2
|
-
color: #
|
3
|
-
background: #
|
14
|
+
color: #4A5859;
|
15
|
+
background: #FFF;
|
4
16
|
height: 100%;
|
5
17
|
padding: 0px;
|
6
18
|
margin: 0px;
|
7
|
-
font-family:
|
8
|
-
font-size:
|
19
|
+
font-family: 'Garamond', serif;
|
20
|
+
font-size: 23px;
|
21
|
+
}
|
22
|
+
|
23
|
+
h1 {
|
24
|
+
color: #C83E4D;
|
25
|
+
font-size: 3em;
|
26
|
+
font-weight: bold;
|
27
|
+
margin: 90px 0px 15px 0px;
|
28
|
+
}
|
29
|
+
|
30
|
+
h2 {
|
31
|
+
padding: 30px 0px 15px 0px;
|
32
|
+
}
|
33
|
+
|
34
|
+
.article-date {
|
35
|
+
color: #936167;
|
9
36
|
}
|
10
37
|
|
11
38
|
.container {
|
@@ -14,8 +41,19 @@ body {
|
|
14
41
|
}
|
15
42
|
|
16
43
|
.wrap {
|
17
|
-
top: 100px;
|
18
44
|
position: relative;
|
45
|
+
background: #FFF2EE;
|
46
|
+
}
|
47
|
+
.wrap a {
|
48
|
+
text-decoration: underline;
|
49
|
+
color: inherit;
|
50
|
+
}
|
51
|
+
.wrap a:hover {
|
52
|
+
color: #C83E4D;
|
53
|
+
}
|
54
|
+
|
55
|
+
.footer {
|
56
|
+
height: 30px;
|
19
57
|
}
|
20
58
|
|
21
59
|
pre {
|
@@ -25,36 +63,12 @@ pre {
|
|
25
63
|
.highlight { border-radius: 10px !important;}
|
26
64
|
|
27
65
|
.header {
|
28
|
-
z-index: 900;
|
29
66
|
width: 100%;
|
30
67
|
top: 0px;
|
68
|
+
background: #FFF;
|
69
|
+
height: 30px;
|
31
70
|
}
|
32
71
|
|
33
72
|
.article, .main {
|
34
|
-
padding: 15px 15px
|
35
|
-
|
36
|
-
}
|
37
|
-
|
38
|
-
.nav { }
|
39
|
-
|
40
|
-
.nav--header {}
|
41
|
-
|
42
|
-
.list {
|
43
|
-
padding: 10px 10px 10px 10px;
|
44
|
-
margin: 0px 0px 0px 0px;
|
45
|
-
list-style-type: none;
|
46
|
-
}
|
47
|
-
|
48
|
-
.list--nav {}
|
49
|
-
|
50
|
-
.item {
|
51
|
-
display: inline-block;
|
52
|
-
padding: 10px 10px 10px 10px;
|
53
|
-
margin: 0px 10px 0px 0px;
|
54
|
-
background: #ecff66;
|
55
|
-
color: #000;
|
56
|
-
}
|
57
|
-
|
58
|
-
.item a { text-decoration: none; color: inherit;}
|
59
|
-
.item--nav {}
|
60
|
-
.item--current { color: rgb(0, 0, 0);}
|
73
|
+
padding: 15px 15px 115px 15px;
|
74
|
+
}
|
Binary file
|
Binary file
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
permalink: "manifest.json"
|
3
|
+
layout: null
|
4
|
+
---
|
5
|
+
|
6
|
+
{
|
7
|
+
"short_name": "{{ site.short_name | default: site.title | replace: ' ', '' }}",
|
8
|
+
"name": "{{ site.title }}",
|
9
|
+
"description": "{{ site.description }}",
|
10
|
+
{% if site.favicons -%}
|
11
|
+
"icons": [
|
12
|
+
{% for icon in site.favicons -%}
|
13
|
+
{
|
14
|
+
"src": "{{ icon[1] | relative_url }}",
|
15
|
+
"sizes": "{{ icon[0] }}x{{ icon[0] }}"
|
16
|
+
}{% if forloop.last != true %},{% endif %}
|
17
|
+
{% endfor %}
|
18
|
+
],
|
19
|
+
{% endif -%}
|
20
|
+
"start_url": "/",
|
21
|
+
"display": "standalone",
|
22
|
+
"orientation": "portrait-primary",
|
23
|
+
"lang": "{{ site.lang | default: "en-US" }}",
|
24
|
+
"theme_color": "{{ site.manifest.theme_color | default: '#24292e' }}",
|
25
|
+
"background_color": "{{ site.manifest.background_color | default: '#ffffff' }}"
|
26
|
+
}
|
27
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paloma-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ffyud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -34,14 +34,17 @@ files:
|
|
34
34
|
- LICENSE.txt
|
35
35
|
- README.md
|
36
36
|
- _config.yml
|
37
|
+
- _includes/footer.html
|
37
38
|
- _includes/header.html
|
38
|
-
- _includes/nav.html
|
39
39
|
- _layouts/default.html
|
40
40
|
- _layouts/home.html
|
41
41
|
- _layouts/post.html
|
42
42
|
- _sass/_rouge-highlighting.scss
|
43
43
|
- _sass/_theme.scss
|
44
44
|
- _sass/paloma-jekyll.scss
|
45
|
+
- assets/fonts/EBGaramond-Bold.ttf
|
46
|
+
- assets/fonts/EBGaramond-Regular.ttf
|
47
|
+
- assets/manifest.json
|
45
48
|
- assets/styles.scss
|
46
49
|
homepage: https://github.com/Ffyud/paloma-jekyll
|
47
50
|
licenses:
|
data/_includes/nav.html
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
<nav class="nav nav--header">
|
2
|
-
<ul class="list list--nav">
|
3
|
-
{{ navigation_header }}
|
4
|
-
{% for item in site.navigation_header %}
|
5
|
-
|
6
|
-
{% if item.url contains '://' %}
|
7
|
-
{% assign url = item.url %}
|
8
|
-
{% else %}
|
9
|
-
{% assign url = item.url | relative_url %}
|
10
|
-
{% endif %}
|
11
|
-
|
12
|
-
<li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
|
13
|
-
<a href="{{ url }}">{{ item.title }}</a>
|
14
|
-
</li>
|
15
|
-
{% endfor %}
|
16
|
-
</ul>
|
17
|
-
</nav>
|