Source code of my website
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ’„ : move certifications to the bottom of the sidebar

+18 -15
+5 -1
assets/css/custom.css
··· 26 26 font-size: 1rem; 27 27 } 28 28 29 + .sidebar-nav { 30 + border-top: solid 1px white; 31 + } 32 + 29 33 .certifications { 30 34 display: flex; 31 35 flex-wrap: wrap; ··· 33 37 gap: 1rem; 34 38 35 39 border-top: solid 1px white; 36 - border-bottom: solid 1px white; 37 40 padding: 1rem 0 1rem 0; 38 41 margin: 0; 39 42 ··· 47 50 width: 96px; 48 51 height: 96px; 49 52 border: 2px solid white; 53 + border-radius: 2rem; 50 54 } 51 55 } 52 56
+12
layouts/_partials/sidebar/certifications.html
··· 1 + <ul class="certifications"> 2 + {{ range .Site.Params.certifications }} 3 + <li> 4 + {{ $cred_logo := resources.Get .Logo }} 5 + {{ $cred_logo := $cred_logo.Resize "96x96 webp"}} 6 + <a href="{{.Credentials }}" target="_blank"> 7 + <img src="{{ $cred_logo.Permalink }}" alt="{{.Name}}" max-width="50%"/> 8 + {{ .Name}} 9 + </a> 10 + </li> 11 + {{ end }} 12 + </ul>
+1
layouts/_partials/sidebar/sidebar.html
··· 2 2 <div class="container sidebar-sticky"> 3 3 {{ partial "sidebar/title.html" . }} 4 4 {{ partial "sidebar/menu.html" . }} 5 + {{ partial "sidebar/certifications.html" . }} 5 6 {{ partial "sidebar/socials.html" . }} 6 7 {{ partial "sidebar/copyright.html" . }} 7 8 </div>
-14
layouts/_partials/sidebar/title.html
··· 10 10 <p class="lead"> 11 11 {{ with .Site.Params.description }}{{. | safeHTML}}{{end}} 12 12 </p> 13 - 14 - <ul class="certifications"> 15 - {{ range .Site.Params.certifications }} 16 - <li> 17 - {{ $cred_logo := resources.Get .Logo }} 18 - {{ $cred_logo := $cred_logo.Resize "96x96 webp"}} 19 - <a href="{{.Credentials }}" target="_blank"> 20 - <img src="{{ $cred_logo.Permalink }}" alt="{{.Name}}" max-width="50%"/> 21 - {{ .Name}} 22 - </a> 23 - </li> 24 - {{ end }} 25 - </ul> 26 - 27 13 </div>