From e268097f9753fae416b79ed44cd9da762c575f17 Mon Sep 17 00:00:00 2001
From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>
Date: Thu, 26 Feb 2026 18:04:31 +0530
Subject: [PATCH] Add Lato as a default font
---
assets/theme-css/navbar.css | 1 +
doc/config.yaml | 3 ---
exampleSite/config.yaml | 3 ---
layouts/partials/css.html | 7 ++++++-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/assets/theme-css/navbar.css b/assets/theme-css/navbar.css
index 4650f5f3..d650fab3 100644
--- a/assets/theme-css/navbar.css
+++ b/assets/theme-css/navbar.css
@@ -18,6 +18,7 @@
.navbar-logo-text {
font-size: 1.25rem;
font-weight: 700;
+ font-family: "Lato", sans-serif;
}
.navbar .container {
min-height: 4rem;
diff --git a/doc/config.yaml b/doc/config.yaml
index 7386f632..68a81a9a 100644
--- a/doc/config.yaml
+++ b/doc/config.yaml
@@ -26,9 +26,6 @@ params:
image: logo.svg
text: Scientific Python Hugo Theme
link: /
- fonts:
- - name: "Lato"
- weights: [400, 900]
hero:
title: Scientific Python Theme
image: logo.svg
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index d8ec9622..a2c9b5b3 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -26,9 +26,6 @@ params:
image: logo.svg
text: Scientific Python Hugo Theme
link: /
- fonts:
- - name: "Lato"
- weights: [400, 900]
hero:
title: Example Site
image: logo.svg
diff --git a/layouts/partials/css.html b/layouts/partials/css.html
index c1d0643e..0f754a7e 100644
--- a/layouts/partials/css.html
+++ b/layouts/partials/css.html
@@ -21,9 +21,14 @@
-
+
+
+
+
+
{{- $sass := append (resources.Get "theme-css/sphinx-design/index.scss")
(resources.Get "theme-css/pst/bootstrap.scss")