Skip to content

Instantly share code, notes, and snippets.

@kutanov kutanov/index.pug
Created Feb 15, 2020

Embed
What would you like to do?
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
You can’t perform that action at this time.