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

@ -13,7 +13,7 @@ block extra_meta_data
meta(name="og:article:modified_time", content=content.updated.toISOExtString)
block content
article(itemscope, itemtype="https://schema.org/BlogPosting")
article(itemscope, itemtype="https://schema.org/BlogPosting", lang="#{content.language}")
- import utils;
header
h1.title(itemprop="headline") #{content.title}

View file

@ -12,4 +12,4 @@ block sidebar
block content
header
h1.title #{content.title}
section !{content.content}
section(lang="#{content.language}") !{content.content}

View file

@ -8,7 +8,7 @@ block meta_data
block sidebar
block content
section
section(lang="#{content.language}")
header.project-header
img.project-icon(src="#{content.icon}", alt="Icon of #{content.title}")
div
@ -31,4 +31,8 @@ block content
dt Technologies
- foreach(technology; content.technologies)
dd.tag #{technology}
dt Source code
- foreach(sourceCodeLink; content.sourceCode)
dd
a(href="#{sourceCodeLink.url}", rel="external") #{sourceCodeLink.name}
| !{content.content}