Skip to content

Commit c32e871

Browse files
blogpost singles and Fixes osusec#5 and Fixes osusec#6
1 parent 0bd760d commit c32e871

File tree

4 files changed

+19
-8
lines changed

4 files changed

+19
-8
lines changed

hugo.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ baseURL: 'https://osusec.org/'
22
languageCode: 'en-us'
33
Title: 'OSU Security Club'
44

5-
permalinks:
6-
blog: '/:filename:/'
7-
85
taxonomies:
96
tag: 'tags'
107

layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ <h1 class="hero-title py-1">{{ .Title }}</h1>
55
</div>
66

77
<div class="bg-light justify-content-center infopage-content" style="min-height: 60vh;">
8-
8+
{{ .Content }}
99
</div>
1010

1111
{{ end }}

layouts/partials/blogcard.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<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>
33
<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>
55
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
66
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
77
<time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
88

99
<p>{{ .Content | truncate 200 }}</p>
10-
<p><a href="/{{ .Title | urlize }}"><span style="text-decoration: underline;">Read More</span>&nbsp;<i class="fas fa-angle-double-right"></i></a></p>
10+
<p><a href="{{ .Permalink }}"><span style="text-decoration: underline;">Read More</span>&nbsp;<i class="fas fa-angle-double-right"></i></a></p>
1111
</div>
1212
</div>

static/caseyhates.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:root {
22
--primary-color: #dc4405;
33
--secondary-color: #f15f25;
4-
--text-color: #7a7a7a;
4+
--text-color: #7a7c7e;
55
--subheading-color: #3C424F;
66
--mutedtext-color: #afafaf;
77
}
@@ -133,6 +133,8 @@ body {
133133
.blurb-each {
134134
width: 15rem;
135135
color: var(--text-color);
136+
font-family: "Open Sans", sans-serif;
137+
font-weight: 400;
136138
}
137139

138140
.blurb-title {
@@ -215,6 +217,10 @@ body {
215217
height: 100vh;
216218
}
217219

220+
.infopage-content>ul, .infopage-content>ol {
221+
color: var(--text-color);
222+
}
223+
218224

219225
.blogcard-each {
220226
width: 20rem;
@@ -239,6 +245,8 @@ body {
239245
.blogcard-title {
240246
text-decoration: none;
241247
color: var(--subheading-color);
248+
font-family: "Mulish",sans-serif;
249+
font-weight: 600;
242250
}
243251

244252
.blogcard-title:hover {
@@ -249,4 +257,10 @@ body {
249257
.blogcard-content>time {
250258
color: var(--mutedtext-color);
251259
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;
252266
}

0 commit comments

Comments
 (0)