Hugo go go go
Made a hugo setup from scratch to generate a static blog and portfolio webpage. The old stuff may still be found in static/old.
This commit is contained in:
8
layouts/partials/i18n/nav.html
Normal file
8
layouts/partials/i18n/nav.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<li id='lang-menu'>
|
||||
<a id='lang-menu-btn' href='#'>{{ T "translations" }}</a>
|
||||
<ul>
|
||||
{{ range $.Site.Home.AllTranslations }}
|
||||
<li><a href='{{ .Permalink }}'>{{ .Language.LanguageName }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</li>
|
Reference in New Issue
Block a user