Internationalisation

This page explicitly sets page.lang: en in its YAML configuration. It demonstrates the default English template chrome used by Emanote.

Demos in other languages:

What changes

Emanote uses page.lang to choose the strings rendered by the default HTML templates. The footer, table-of-contents heading, search placeholder, copy button labels, and built-in index pages all use the selected language.

Most sites should set page.lang once in their root `index.yaml`. Per-page language settings are useful for documentation demos like this one.

page:
  lang: en

Copy button

The code-copy button title on this block should be rendered in English.

main = putStrLn "hello"