Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ac9cd5

Browse files
changed active nav class name to something more descriptive
1 parent 8f81631 commit 3ac9cd5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

layouts/partials/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
{{ else if eq $text "Home" }}
2727
{{ $sitetitle := "OSU Security Club - Oregon State University Security Club" }}
2828
<li class="nav-item px-1">
29-
<a class="nav-link text-black {{ if eq $page.Title $sitetitle }}ghgh{{ end }}" href="{{ .URL }}">{{ $text }}</a>
29+
<a class="nav-link text-black {{ if eq $page.Title $sitetitle }}userisonthisnavnow{{ end }}" href="{{ .URL }}">{{ $text }}</a>
3030
</li>
3131
{{ else }}
3232
<li class="nav-item px-1">
33-
<a class="nav-link text-black {{ if eq $text $page.Title }}ghgh{{ end }}" href="{{ .URL }}">{{ $text }}</a>
33+
<a class="nav-link text-black {{ if eq $text $page.Title }}userisonthisnavnow{{ end }}" href="{{ .URL }}">{{ $text }}</a>
3434
</li>
3535
{{ end }}
3636
{{ end }}

static/caseyhates.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ body {
3535
box-shadow: none;
3636
}
3737

38-
.ghgh {
38+
.userisonthisnavnow {
3939
border-bottom: 3px solid var(--primary-color);
4040
}

0 commit comments

Comments
 (0)