jcarrier-theme

A Grav CMS theme for <https://jacynthecarrier.com>.
git clone git://soucy.cc/jcarrier-theme.git
Log | Files | Refs | README | LICENSE

commit bf57b16c6ffb0246390bec50f2032cadb8ce73b1
parent 12678a46b11143c3b2becc33ba5149d1fa54eb79
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun, 19 Dec 2021 15:41:11 -0500

Set lang abbr instead

Diffstat:
Mtemplates/partials/langswitcher.html.twig | 2+-
Mtemplates/partials/navigation.html.twig | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/partials/langswitcher.html.twig b/templates/partials/langswitcher.html.twig @@ -28,7 +28,7 @@ {% else %} hidden="" {% endif %}> - {{ native_name(language)|capitalize }} + {{ language|upper }} </a> </li> {% endif %} diff --git a/templates/partials/navigation.html.twig b/templates/partials/navigation.html.twig @@ -60,6 +60,6 @@ </li> {% endfor %} - {% include 'partials/langswitcher.html.twig' with {display_format: 'short'} %} + {% include 'partials/langswitcher.html.twig' %} </ul> </nav>