fortyone-jekyll-theme 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -0
- data/_includes/header.html +1 -1
- data/_includes/pagination.html +18 -0
- data/_layouts/page.html +3 -1
- data/_layouts/post.html +12 -11
- data/_sass/components/_button.scss +40 -0
- metadata +3 -13
- data/assets/images/pic01.jpg +0 -0
- data/assets/images/pic02.jpg +0 -0
- data/assets/images/pic03.jpg +0 -0
- data/assets/images/pic04.jpg +0 -0
- data/assets/images/pic05.jpg +0 -0
- data/assets/images/pic06.jpg +0 -0
- data/assets/images/pic07.jpg +0 -0
- data/assets/images/pic08.jpg +0 -0
- data/assets/images/pic09.jpg +0 -0
- data/assets/images/pic10.jpg +0 -0
- data/assets/images/pic11.jpg +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13880cf373d2a80d185303e68d62ac1de20f9a3f
|
4
|
+
data.tar.gz: cd2fe4dca33f7cc7c136968c4081900b987bcfcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cab1a1ab45ac10ca79eb2d4482915806831ebb8ed3167d38a449ca81d61ee1d0222fd32ee1512ebfaa5761071a91d4eb46ac00bd139cee88d54d2dc7ac422270
|
7
|
+
data.tar.gz: acc193857fe9042002fbb26c85a5cbc87c628917921f4ed29ab47a278c46644b2e3daed0576799e0d0fba437b6c81627ef770f8d3fb33d046b85937cbd8a7b1b
|
data/README.md
CHANGED
@@ -1,8 +1,29 @@
|
|
1
1
|
# FortyOne - Jekyll Theme
|
2
2
|
|
3
|
+
To use this theme:
|
4
|
+
|
5
|
+
Add to your `Gemfile`:
|
6
|
+
|
7
|
+
```
|
8
|
+
gem 'fortyone-jekyll-theme'
|
9
|
+
```
|
10
|
+
|
11
|
+
and to `_config.yml`:
|
12
|
+
|
13
|
+
```
|
14
|
+
theme: fortyone-jekyll-theme
|
15
|
+
```
|
16
|
+
|
17
|
+
`pages` branch is a working example
|
18
|
+
|
19
|
+
## [FortyOne Demo](https://agustibr.gitlab.io/fortyone-jekyll-theme/)
|
20
|
+
|
3
21
|
+ Added `alltags` template
|
4
22
|
+ Modified `allposts` template
|
5
23
|
+ You can [Customize the theme's CSS](https://help.github.com/articles/customizing-css-and-html-in-your-jekyll-theme/#customizing-your-jekyll-themes-css)
|
24
|
+
+ added pagination to post layout
|
25
|
+
|
26
|
+
|
6
27
|
|
7
28
|
# Original README from Forty - Jekyll Theme
|
8
29
|
|
data/_includes/header.html
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
{% if page.previous.url or page.next.url %}
|
2
|
+
<nav class="pagination row 50% uniform">
|
3
|
+
{% if page.previous.url %}
|
4
|
+
<div class="6u 12u$(small)">
|
5
|
+
<a class="prev button fit" href="{{ page.previous.url | relative_url }}">
|
6
|
+
{{page.previous.title}}
|
7
|
+
</a>
|
8
|
+
</div>
|
9
|
+
{% endif %}
|
10
|
+
{% if page.next.url %}
|
11
|
+
<div class="6u$ 12u$(small)">
|
12
|
+
<a class="next button fit" href="{{ page.next.url | relative_url }}">
|
13
|
+
{{page.next.title}}
|
14
|
+
</a>
|
15
|
+
</div>
|
16
|
+
{% endif %}
|
17
|
+
</div>
|
18
|
+
{% endif %}
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -16,20 +16,21 @@
|
|
16
16
|
<!-- Main -->
|
17
17
|
<div id="main" class="alt">
|
18
18
|
|
19
|
-
<!-- One -->
|
20
|
-
<section id="one">
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
</
|
19
|
+
<!-- One -->
|
20
|
+
<section id="one">
|
21
|
+
<div class="inner">
|
22
|
+
<header class="major">
|
23
|
+
<h1>{{ page.title }}</h1>
|
24
|
+
</header>
|
25
|
+
{% if page.image %}<span class="image main"><img src="{{ site.baseurl }}/{{ page.image }}" alt="" /></span>{% endif %}
|
26
|
+
<p>{{ content }}</p>
|
27
|
+
{% include pagination.html %}
|
28
|
+
</div>
|
29
|
+
</section>
|
29
30
|
|
30
31
|
</div>
|
31
32
|
|
32
|
-
|
33
|
+
{% include footer.html %}
|
33
34
|
|
34
35
|
</body>
|
35
36
|
|
@@ -107,6 +107,46 @@
|
|
107
107
|
padding-right: 5em;
|
108
108
|
}
|
109
109
|
}
|
110
|
+
|
111
|
+
&.prev {
|
112
|
+
padding-left: 4.5em;
|
113
|
+
position: relative;
|
114
|
+
|
115
|
+
&:before, &:after {
|
116
|
+
@include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
|
117
|
+
background-position: center right;
|
118
|
+
background-repeat: no-repeat;
|
119
|
+
background-size: 36px 24px;
|
120
|
+
content: '';
|
121
|
+
display: block;
|
122
|
+
height: 100%;
|
123
|
+
position: absolute;
|
124
|
+
left: 1.5em;
|
125
|
+
top: 0;
|
126
|
+
vertical-align: middle;
|
127
|
+
width: 36px;
|
128
|
+
}
|
129
|
+
|
130
|
+
&:before {
|
131
|
+
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="36px" height="24px" viewBox="0 0 36 24" zoomAndPan="disable"><style>line { stroke: #{_palette(fg-bold)}; stroke-width: 2px; }</style><line y1="12" x2="34" y2="12" id="line4"/><line x1=".364" y1="12.75" x2="8.864" y2="3.75" id="line6"/><line x1="8.864" y1="20.25" x2=".364" y2="11.25" id="line8"/></svg>');
|
132
|
+
}
|
133
|
+
|
134
|
+
&:after {
|
135
|
+
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="36" height="24" viewBox="0 0 36 24" zoomAndPan="disable"><style>line { stroke: #{_palette(highlight)}; stroke-width: 2px; }</style><line y1="12" x2="34" y2="12" id="line4"/><line x1=".364" y1="12.75" x2="8.864" y2="3.75" id="line6"/><line x1="8.864" y1="20.25" x2=".364" y2="11.25" id="line8"/></svg>');
|
136
|
+
opacity: 0;
|
137
|
+
z-index: 1;
|
138
|
+
}
|
139
|
+
|
140
|
+
&:hover, &:active {
|
141
|
+
&:after {
|
142
|
+
opacity: 1;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
@include breakpoint(large) {
|
147
|
+
padding-right: 5em;
|
148
|
+
}
|
149
|
+
}
|
110
150
|
|
111
151
|
&.special {
|
112
152
|
background-color: _palette(fg-bold);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fortyone-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Banchich
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-05-
|
12
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- _includes/footer.html
|
52
52
|
- _includes/head.html
|
53
53
|
- _includes/header.html
|
54
|
+
- _includes/pagination.html
|
54
55
|
- _includes/tiles.html
|
55
56
|
- _layouts/allposts.html
|
56
57
|
- _layouts/alltags.html
|
@@ -98,17 +99,6 @@ files:
|
|
98
99
|
- assets/fonts/fontawesome-webfont.woff2
|
99
100
|
- assets/images/banner.jpg
|
100
101
|
- assets/images/forty.jpg
|
101
|
-
- assets/images/pic01.jpg
|
102
|
-
- assets/images/pic02.jpg
|
103
|
-
- assets/images/pic03.jpg
|
104
|
-
- assets/images/pic04.jpg
|
105
|
-
- assets/images/pic05.jpg
|
106
|
-
- assets/images/pic06.jpg
|
107
|
-
- assets/images/pic07.jpg
|
108
|
-
- assets/images/pic08.jpg
|
109
|
-
- assets/images/pic09.jpg
|
110
|
-
- assets/images/pic10.jpg
|
111
|
-
- assets/images/pic11.jpg
|
112
102
|
- assets/js/ie/.directory
|
113
103
|
- assets/js/ie/backgroundsize.min.htc
|
114
104
|
- assets/js/ie/html5shiv.js
|
data/assets/images/pic01.jpg
DELETED
Binary file
|
data/assets/images/pic02.jpg
DELETED
Binary file
|
data/assets/images/pic03.jpg
DELETED
Binary file
|
data/assets/images/pic04.jpg
DELETED
Binary file
|
data/assets/images/pic05.jpg
DELETED
Binary file
|
data/assets/images/pic06.jpg
DELETED
Binary file
|
data/assets/images/pic07.jpg
DELETED
Binary file
|
data/assets/images/pic08.jpg
DELETED
Binary file
|
data/assets/images/pic09.jpg
DELETED
Binary file
|
data/assets/images/pic10.jpg
DELETED
Binary file
|
data/assets/images/pic11.jpg
DELETED
Binary file
|