Add desktop-navigation-width property

This commit is contained in:
Svilen Markov
2025-03-20 22:54:39 +00:00
parent 46eb610d26
commit 55ae674e0b
5 changed files with 41 additions and 16 deletions
+8
View File
@@ -61,6 +61,14 @@ func newApplication(config *config) (*application, error) {
app.slugToPage[page.Slug] = page
if page.Width == "default" {
page.Width = ""
}
if page.DesktopNavigationWidth == "" && page.DesktopNavigationWidth != "default" {
page.DesktopNavigationWidth = page.Width
}
for c := range page.Columns {
column := &page.Columns[c]