File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ <h2 class="card-title section-header">
2828 </ a >
2929 </ div >
3030 < div class ="col-6 my-auto ">
31- < a class ='btn {{ if not (in .Params.tags "featured") }} btn-outline-accent {{ else }} btn-outline-featured {{end}} float-end ' href ="/portfolio/{{ .Params.repo }}/ " target ="_blank " title ="View Project: {{ .Title }} ">
31+ < a class ='btn {{ if not (in .Params.tags "featured") }} btn-outline-accent {{ else }} btn-outline-featured {{end}} float-end ' href ="/portfolio/{{ .Params.repo | lower }}/ " target ="_blank " title ="View Project: {{ .Title }} ">
3232 More Info »
3333 </ a >
3434 </ div >
Original file line number Diff line number Diff line change 11< div class ="text-center my-4 ">
22 {{ range $index, $value := .Params.languages }}
33 {{ $source := (printf "/img/logos/%s.svg" $value) | relURL }}
4- < img src ="{{ $source }} " alt ="{{.}} " class ="lang-logo "
4+ < img src ="{{ $source | lower }} " alt ="{{.}} " class ="lang-logo "
55 loading ="lazy " data-bs-toggle ="tooltip " data-bs-placement ="bottom "
66 data-bs-title ="{{.}} " aria-label ="{{.}} "
77 data-bs-original-title ="{{.}} "/>
Original file line number Diff line number Diff line change 1919 < div class ="card mb-4 border-accent shadow-accent ">
2020 < div class ="card-body ">
2121 < h3 class ="section-header ">
22+ < span >
23+ {{ with $taxonomy.Page.Data.Term }}
24+ {{ $source := (printf "/img/logos/%s.svg" .)}}
25+ < img src ="{{ $source | lower }} " alt ="{{.}} " class ="lang-logo " loading ="lazy " data-bs-toggle ="tooltip "
26+ data-bs-placement ="bottom " data-bs-title ="{{.}} " aria-label ="{{.}} " data-bs-original-title ="{{.}} " />
27+ {{ end }}
28+ </ span >
2229 {{ $taxonomy.Page.Data.Term }}
2330 < span class ="float-end badge bg-featured badge-text "> {{ .Count }}</ span >
2431 </ h3 >
@@ -36,6 +43,12 @@ <h3 class="section-header">
3643 {{ end }}
3744 </ section >
3845 </ div >
46+ < script >
47+ // Enable tooltips everywhere
48+ // ref: https://getbootstrap.com/docs/5.3/components/tooltips/#enable-tooltips
49+ const tooltipTriggerList = document . querySelectorAll ( '[data-bs-toggle="tooltip"]' )
50+ const tooltipList = [ ...tooltipTriggerList ] . map ( tooltipTriggerEl => new bootstrap . Tooltip ( tooltipTriggerEl ) )
51+ </ script >
3952</ body >
4053
4154</ html >
Original file line number Diff line number Diff line change 33 < nav class ='text-light ' aria-label ='breadcrumb '>
44 < ol class ='breadcrumb '>
55 < li class ='breadcrumb-item ' aria-current ='page '> < a href ='/ '> Home</ a > </ li >
6- < li class ='breadcrumb-item ' aria-current ='page '> < a href ='/portfolio/#{{.Params.repo}} '> Projects </ a > </ li >
6+ < li class ='breadcrumb-item ' aria-current ='page '> < a href ='/portfolio/#{{.Params.repo}} '> Portfolio </ a > </ li >
77 < li class ='breadcrumb-item active ' aria-current ='page '> {{.Params.title}}</ li >
88 </ ol >
99 </ nav >
You can’t perform that action at this time.
0 commit comments