Created
February 15, 2020 03:25
-
-
Save kutanov/9d7a2a28454eef243015193633411062 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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