Skip to content

Instantly share code, notes, and snippets.

@kutanov
Created February 15, 2020 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kutanov/9d7a2a28454eef243015193633411062 to your computer and use it in GitHub Desktop.
Save kutanov/9d7a2a28454eef243015193633411062 to your computer and use it in GitHub Desktop.
extends layout
block content
h1 Welcome to #{title}
p Welcome #{t("home.title")}
p It's a translation article application
a(href='?lng=en') English <br>
a(href='?lng=ru') Russian
<br>
table
th Book
th Author
each book in books
tr
td= t(book.title)
td= t(book.author)
tr
td= t('home.total', { counter: counter })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment