Add more support for internationalisation, style changes

This commit is contained in:
Chris Josten 2021-03-11 17:22:40 +01:00
parent 5506163cba
commit 46bea4fa58
16 changed files with 125 additions and 1461 deletions

View file

@ -1,6 +1,7 @@
doctype html
html(prefix="og: http://ogp.me/ns#")
- import constants;
- import vibe.d;
head
//- Kick off loading the css as fast as possible
meta(name="viewport", content="width=device-width; initial-scale=1")
@ -40,7 +41,7 @@ html(prefix="og: http://ogp.me/ns#")
body
- void menuItem(string text, string link)
li
a(href="#{link}") #{text}
a(href="#{link}") #{trWeb(text)}
section.header-navigation
header
@ -48,9 +49,9 @@ html(prefix="og: http://ogp.me/ns#")
p& template.page.name
nav
ul
- menuItem("home", "/");
- menuItem("posts", "/posts/");
- menuItem("projects", "/projects/");
- menuItem("template.menu.home", "/");
- menuItem("template.menu.posts", "/posts/");
- menuItem("template.menu.projects", "/projects/");
block sidebar
footer.hide-small
block footer