File tree Expand file tree Collapse file tree 10 files changed +2672
-1573
lines changed Expand file tree Collapse file tree 10 files changed +2672
-1573
lines changed Original file line number Diff line number Diff line change
1
+ nodeLinker : node-modules
Original file line number Diff line number Diff line change @@ -8,10 +8,6 @@ useContainer: true
8
8
9
9
<p >on {{ page .date | formatDate }} , takes {{ content | timeToRead }} to read.</p >
10
10
11
- {% if (openGraph .imgUrl ) %}
12
- <img id =" ogimage" class =" og-image" src =" {{ openGraph.imgUrl }}" >
13
- {% endif %}
14
-
15
11
<h2 >Tags</h2 >
16
12
{% if ((tags | length ) > 1) %}
17
13
<ul >
@@ -29,6 +25,10 @@ useContainer: true
29
25
<p >No tags</p >
30
26
{% endif %}
31
27
28
+ {% if (openGraph .imgUrl ) %}
29
+ <img id =" ogimage" class =" og-image" src =" {{ openGraph.imgUrl }}" >
30
+ {% endif %}
31
+
32
32
<div id =" post-content" class =" content" >
33
33
{{ content | safe }}
34
34
<div >
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ useContainer: true
29
29
<div id =" posts-list" class =" post-list" >
30
30
{%- for item in pagination .items %}
31
31
{% if item .data .published != false %}
32
- <article id =" post-{{ loop.index }}" class =" post" >
33
- <a href = " {{ item.page.url }} " >{{ item .data .title }} </a >
32
+ <a id =" post-{{ loop.index }}" class =" post transition " href = " {{ item.page.url }} " >
33
+ <p >{{ item .data .title }} </p >
34
34
<p >on {{ item .page .date | formatDate }} , takes {{ item .content | timeToRead }} to read.</p >
35
- </article >
35
+ </a >
36
36
{% endif %}
37
37
{% endfor -%}
38
38
</div >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pagination:
16
16
</div >
17
17
<div class =" home-section-card-content" >
18
18
{%- for item in pagination .items %}
19
- <a href =" {{ item.page.url }}" >
19
+ <a href =" {{ item.page.url }}" class = " home-section-card " >
20
20
<h3 >{{ item .data .title }} </h3 >
21
21
<p >{{ item .data .description }} </p >
22
22
</a >
Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ pagination:
30
30
31
31
<div id =" posts-list" class =" post-list" >
32
32
{%- for item in pagination .items %}
33
- <article id =" post-{{ loop.index }}" class =" post" >
34
- <a href = " {{ item.page.url }} " >{{ item .data .title }} </a >
33
+ <a id =" post-{{ loop.index }}" href = " {{ item.page.url }} " class =" post transition " >
34
+ <p >{{ item .data .title }} </p >
35
35
<p >on {{ item .page .date | formatDate }} , takes {{ item .content | timeToRead }} to read.</p >
36
- </article >
36
+ </a >
37
37
{% endfor -%}
38
38
</div >
39
39
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ pagination:
12
12
13
13
<div id =" posts-list" class =" post-list" >
14
14
{%- for item in pagination .items %}
15
- <article id =" post-{{ loop.index }}" class =" post" >
16
- <a href = " {{ item.page.url }} " >{{ item .data .title }} </a >
15
+ <a id =" post-{{ loop.index }}" class =" post transition " href = " {{ item.page.url }} " >
16
+ <p >{{ item .data .title }} </p >
17
17
<p >{{ item .data .description }} </p >
18
- </article >
18
+ </a >
19
19
{% endfor -%}
20
20
</div >
21
21
Original file line number Diff line number Diff line change 6
6
:root {
7
7
--bg : var (--black );
8
8
--color : var (--white );
9
- --contrast : var (--gray-700 );
9
+ --contrast : var (--gray-800 );
10
10
--hover : var (--green-300 );
11
11
}
12
12
@@ -101,7 +101,7 @@ a:hover {
101
101
102
102
.nav-bar {
103
103
width : 100% ;
104
- height : 32 px ;
104
+ min- height : 64 px ;
105
105
display : flex ;
106
106
flex-direction : row ;
107
107
padding : 12px ;
@@ -143,34 +143,62 @@ a:hover {
143
143
align-items : center ;
144
144
145
145
.pagination-control {
146
- margin : 6px ;
147
- padding : 6px 12px ;
148
- border-radius : 12px ;
149
- background-color : var (--green-500 );
150
-
151
146
a {
147
+ margin : 6px ;
148
+ padding : 6px 12px ;
149
+ display : block ;
150
+ border : 1px solid var (--hover );
151
+
152
152
text-decoration : none ;
153
153
}
154
154
155
155
a :hover {
156
- color : var (--color );
156
+ color : var (--bg );
157
+ background-color : var (--hover );
157
158
}
158
159
}
159
160
160
161
.pagination-control [aria-current ] {
162
+ margin : 6px ;
163
+ padding : 6px 12px ;
164
+ display : block ;
165
+
166
+ border : 1px solid var (--contrast );
161
167
background-color : var (--contrast );
162
168
}
163
169
}
164
170
165
171
.post-list {
166
172
.post {
167
173
margin-top : 12px ;
174
+ margin : 6px ;
175
+ padding : 6px 12px ;
176
+ display : block ;
177
+ border : 1px solid var (--hover );
178
+
179
+ text-decoration : none ;
180
+ }
181
+
182
+ .post :hover {
183
+ color : var (--bg );
184
+ background-color : var (--hover );
168
185
}
169
186
}
170
187
171
188
.tagged-posts {
172
189
.tagged-post {
173
190
margin-top : 12px ;
191
+ margin : 6px ;
192
+ padding : 6px 12px ;
193
+ display : block ;
194
+ border : 1px solid var (--hover );
195
+
196
+ text-decoration : none ;
197
+ }
198
+
199
+ .tagged-post :hover {
200
+ color : var (--bg );
201
+ background-color : var (--hover );
174
202
}
175
203
}
176
204
Original file line number Diff line number Diff line change 35
35
}
36
36
}
37
37
38
+ .home-section-card {
39
+ padding : 6px 12px ;
40
+ display : block ;
41
+ border : 1px solid var (--hover );
42
+
43
+ text-decoration : none ;
44
+ }
45
+
46
+ .home-section-card :hover {
47
+ color : var (--bg );
48
+ background-color : var (--hover );
49
+ }
50
+
38
51
.home-section {
39
52
margin-top : 32px ;
40
53
display : flex ;
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ isBlog: true
19
19
20
20
<div id =" taggedposts" class =" tagged-posts" >
21
21
{% for post in (collections [ tag ] | reverse ) %}
22
- <article class =" tagged-post" >
23
- <a href = " {{ post.url }} " >{{ post .data .title }} </a >
22
+ <a class =" tagged-post transition " href = " {{ post.url }} " >
23
+ <p >{{ post .data .title }} </p >
24
24
<p >on {{ post .page .date | formatDate }} </p >
25
- </article >
25
+ </a >
26
26
{% endfor %}
27
27
</div >
You can’t perform that action at this time.
0 commit comments