Skip to content

Commit

Permalink
add layouts to override theme
Browse files Browse the repository at this point in the history
  • Loading branch information
moficodes committed Nov 18, 2024
1 parent 0bf7d6e commit b7b2375
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ draft: false

## 2024

* [Introduction to Distributed ML Workloads with Ray on Kubernetes](https://youtu.be/M5FAI2kmcdE?si=qSzq6POqyUQxU2hn) Kubecon NA 2024
* [Introduction to Distributed ML Workloads with Ray on Kubernetes [Video]](https://youtu.be/M5FAI2kmcdE?si=qSzq6POqyUQxU2hn) Kubecon NA 2024

* [Navigating the Processing Unit Landscape in Kubernetes for AI Use Cases [Video]](https://youtu.be/195X1yItSLc) Kubecon EU 2024

Expand Down
5 changes: 5 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{- partial "medium-zoom.html" . -}}
{{- partial "math.html" . -}}
{{- if and (hugo.IsProduction) (.Site.Params.gtagId) -}}
{{ partial "google-analytics-gtag-async.html" . }}
{{- end -}}
27 changes: 27 additions & 0 deletions layouts/partials/navbar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<div class="page-top {{ with .Site.Params.doNotLoadAnimations }} . {{ else }} animated fadeInDown {{ end }}">
<a role="button" class="navbar-burger" data-target="navMenu" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
<ul class="nav" id="navMenu">
{{ $url := .RelPermalink }}
{{ range .Site.Menus.main }}
{{ $active := eq $url .URL }}
<li><a {{if $active }}class="current"{{end}}
href="{{ .URL }}"
{{ if strings.HasPrefix .URL "http" }}
target="_blank"
rel="noopener noreferrer"
{{ end }}
title="{{ .Title }}">{{ .Name }}</a></li>
{{ end }}
{{ if not .Site.Params.disableThemeSwitcher }}
<li class="theme-switch-item">
<a class="theme-switch" title="Switch Theme">
<i class="fas fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</li>
{{ end }}
</ul>
</div>

0 comments on commit b7b2375

Please sign in to comment.