diff --git a/assets/style.sass b/assets/style.sass index 67a905e..13281c8 100644 --- a/assets/style.sass +++ b/assets/style.sass @@ -95,6 +95,29 @@ nav.pagination background: inherit color: gray cursor: default + ul.pages + display: flex + flex-direction: row + gap: .2rem + margin: 0 .6rem + padding: 0 + a + display: inline-block + line-height: 2rem + font-size: 1.2rem + padding: 0 .5rem + &.active + background: #e6dfcd + color: $link + a.disabled + color: gray + cursor: default + &:hover + background: inherit + color: gray + li.active + background: #e6dfcd + color: $link // .category_container:first-of-type // margin-left: 5px diff --git a/config.toml b/config.toml index 09b9ffa..52582f7 100644 --- a/config.toml +++ b/config.toml @@ -2,7 +2,7 @@ baseURL = 'tofudreams.com/' languageCode = 'en-us' title = 'Tofu Dreams' description = "Vegan recipes to dream about" -copyright = "2023 Tofu Dreams" +copyright = "2024 Tofu Dreams" theme = 'bean' relativeURLs = true @@ -20,9 +20,23 @@ capitalizeListTitles = false [menu] [[menu.main]] name = "Home" - pre = "home" url = "/" weight = 1 + [[menu.main]] + name = "Savory" + pre = "savory" + pageref = "/categories/savory/" + weight = 2 + [[menu.main]] + name = "Sweet" + pre = "sweet" + pageref = "/categories/sweet/" + weight = 3 + [[menu.main]] + name = "Oatmeal" + pre = "oatmeal" + pageref = "/categories/oatmeal/" + weight = 4 [params] logo = "logo.png" diff --git a/themes/bean/layouts/_default/taxonomy.html b/themes/bean/layouts/_default/taxonomy.html index f29ef6a..18566f9 100644 --- a/themes/bean/layouts/_default/taxonomy.html +++ b/themes/bean/layouts/_default/taxonomy.html @@ -73,15 +73,46 @@