Commit a549526f authored by Henk Verlinde's avatar Henk Verlinde
Browse files

feat: update for multilingual support

parent 2f694796
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -75,9 +75,11 @@ $navbar-dark-active-color: $link-color-dark;
  background: $body-overlay-dark;
}

/*
[data-dark-mode] body .dropdown-menu {
  @extend .dropdown-menu-dark;
}
*/

[data-dark-mode] body .navbar,
[data-dark-mode] body .doks-subnavbar {
@@ -468,6 +470,10 @@ $navbar-dark-active-color: $link-color-dark;
}
*/

[data-dark-mode] .dropdown-item {
  color: $body-bg-dark;
}

[data-dark-mode] body hr.text-black-50 {
  color: $gray-600 !important;
}
+12 −0
Original line number Diff line number Diff line
@@ -431,3 +431,15 @@ button#doks-versions {
.navbar-light .navbar-nav .active .nav-link {
  color: $primary;
}

.dropdown-divider {
  border-top: 1px dashed $gray-200;
}

.dropdown-item:hover {
  background: $gray-100;
}

.dropdown-item:active {
  color: inherit;
}
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ rssLimit = 10

# Multilingual
defaultContentLanguage = "en"
# disableLanguages = ["nl"]
disableLanguages = ["de", "nl"]
# defaultContentLanguageInSubdir = true

# add redirects/headers
+7 −0
Original line number Diff line number Diff line
@@ -5,6 +5,13 @@
  [en.params]
    languageISO = "EN"

[de]
  languageName = "German"
  contentDir = "content/de"
  weight = 15
  [de.params]
    languageISO = "DE"

[nl]
  languageName = "Nederlands"
  contentDir = "content/nl"
+1 −1
Original line number Diff line number Diff line
@@ -76,5 +76,5 @@ editPage = false
  highLight = true
  kaTex = false
  collapsibleSidebar = true
  multilingualMode = true
  multilingualMode = false
  docsVersioning = false # Not yet functional
Loading