Open ec1warc1 opened 4 years ago
It's not built in to the theme yet but it should be possible to do it. There's an in progress PR to do the same for the Feedback links, but this one is simpler as you don't need to switch a feature on and off as well. See #179
I was able to hack a solution. Here you can see how I modified entries in config.toml to make them language specific:
[[params.links.developer-en]]
name = "Account Management"
url = "/en/acm/"
icon = "fas fa-id-card"
desc = "Manage your e2e.ee JabberID!"
target = "_self"
[[params.links.developer-es]]
name = "Administración de Cuenta"
url = "/es/acm/"
icon = "fas fa-id-card"
desc = "Manage your e2e.ee JabberID!"
target = "_self"
Then, in themes/docsy/layouts/partials/footer.html:
Looking at these params.links:
I don't see a way to make the links depend upon the active language similar to the menu. Is there a way to do it? Many thanks! Edward