File tree Expand file tree Collapse file tree 4 files changed +19
-8
lines changed Expand file tree Collapse file tree 4 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ baseURL: 'https://osusec.org/'
2
2
languageCode : ' en-us'
3
3
Title : ' OSU Security Club'
4
4
5
- permalinks :
6
- blog : ' /:filename:/'
7
-
8
5
taxonomies :
9
6
tag : ' tags'
10
7
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ <h1 class="hero-title py-1">{{ .Title }}</h1>
5
5
</ div >
6
6
7
7
< div class ="bg-light justify-content-center infopage-content " style ="min-height: 60vh; ">
8
-
8
+ {{ .Content }}
9
9
</ div >
10
10
11
11
{{ end }}
Original file line number Diff line number Diff line change 1
1
< div class ="blogcard-each mx-2 my-2 ">
2
- < a href ="/ {{ .Title | urlize }} "> < img src ="/blog/ {{ .Title | urlize }}.jpg " alt ="{{ .Params.Caption }} " class ="blogcard-img "> </ a >
2
+ < a href ="{{ .Permalink }} "> < img src ="{{ substr .Permalink 0 -1 }}.jpg " alt ="{{ .Params.Caption }} " class ="blogcard-img "> </ a >
3
3
< div class ="blogcard-content py-4 px-4 ">
4
- < a href ="/ {{ .Title | urlize }} " class ="blogcard-title "> < h4 > {{ .Title }}</ h4 > </ a >
4
+ < a href ="{{ .Permalink }} " class ="blogcard-title "> < h4 class =" blogcard-title " > {{ .Title }}</ h4 > </ a >
5
5
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
6
6
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
7
7
< time datetime ="{{ $dateTime }} "> {{ .PublishDate.Format $dateFormat }}</ time >
8
8
9
9
< p > {{ .Content | truncate 200 }}</ p >
10
- < p > < a href ="/ {{ .Title | urlize }} "> < span style ="text-decoration: underline; "> Read More</ span > < i class ="fas fa-angle-double-right "> </ i > </ a > </ p >
10
+ < p > < a href ="{{ .Permalink }} "> < span style ="text-decoration: underline; "> Read More</ span > < i class ="fas fa-angle-double-right "> </ i > </ a > </ p >
11
11
</ div >
12
12
</ div >
Original file line number Diff line number Diff line change 1
1
: root {
2
2
--primary-color : # dc4405 ;
3
3
--secondary-color : # f15f25 ;
4
- --text-color : # 7a7a7a ;
4
+ --text-color : # 7a7c7e ;
5
5
--subheading-color : # 3C424F ;
6
6
--mutedtext-color : # afafaf ;
7
7
}
@@ -133,6 +133,8 @@ body {
133
133
.blurb-each {
134
134
width : 15rem ;
135
135
color : var (--text-color );
136
+ font-family : "Open Sans" , sans-serif;
137
+ font-weight : 400 ;
136
138
}
137
139
138
140
.blurb-title {
@@ -215,6 +217,10 @@ body {
215
217
height : 100vh ;
216
218
}
217
219
220
+ .infopage-content > ul , .infopage-content > ol {
221
+ color : var (--text-color );
222
+ }
223
+
218
224
219
225
.blogcard-each {
220
226
width : 20rem ;
@@ -239,6 +245,8 @@ body {
239
245
.blogcard-title {
240
246
text-decoration : none;
241
247
color : var (--subheading-color );
248
+ font-family : "Mulish" , sans-serif;
249
+ font-weight : 600 ;
242
250
}
243
251
244
252
.blogcard-title : hover {
@@ -249,4 +257,10 @@ body {
249
257
.blogcard-content > time {
250
258
color : var (--mutedtext-color );
251
259
font-size : 0.9rem ;
260
+ }
261
+
262
+ .blogcard-content {
263
+ color : var (--text-color );
264
+ font-family : "Open Sans" , sans-serif;
265
+ font-size : 600 ;
252
266
}
You can’t perform that action at this time.
0 commit comments