Footer style edit

This commit is contained in:
Brandon Rozek 2025-01-05 13:29:24 -05:00
parent d5bd28436a
commit 60b013a30f
No known key found for this signature in database
GPG key ID: DFB0E78F805F4567
2 changed files with 7 additions and 2 deletions

View file

@ -404,6 +404,11 @@ footer a:link, footer a:visited, footer a:hover, footer a:active {
text-align: left; text-align: left;
} }
.footer-nav {
column-count: 2;
column-gap: 2rem;
}
/* END FOOTER */ /* END FOOTER */
/* /*

View file

@ -7,7 +7,7 @@
<div class="footer-navs block-center"> <div class="footer-navs block-center">
<nav> <nav>
<p>Content Pages</p> <p>Content Pages</p>
<ul id="footer-nav-sections"> <ul class="footer-nav">
{{ range .Site.Sections }} {{ range .Site.Sections }}
{{ if not .Params.hidden }} {{ if not .Params.hidden }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li> <li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
@ -18,7 +18,7 @@
<nav> <nav>
<p>More Pages</p> <p>More Pages</p>
<ul> <ul class="footer-nav">
{{ $sectionPages := where .Site.Pages "Section" "" }} {{ $sectionPages := where .Site.Pages "Section" "" }}
{{ range $sectionPages }} {{ range $sectionPages }}
{{ if and (not .Params.hidden) (ne .Permalink .Site.BaseURL)}} {{ if and (not .Params.hidden) (ne .Permalink .Site.BaseURL)}}