Skip to content

Commit 880b060

Browse files
committed
minor
1 parent be53bdf commit 880b060

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

templates/blocks/sitetoolbar.jade

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,16 @@ if lang=='ru'
4848
+e('a').link(href=section.url ? section.url : ('/' + section.slug))= section.title
4949

5050
if siteToolbarCurrentSection == 'tutorial'
51-
include ./buy-book
52-
53-
if user
54-
include ./user
55-
else
56-
include ./guest
51+
+e.book-wrap
52+
+b("a").buy-book-button(href="/ebook") Купить EPUB/PDF
53+
else
54+
+e.book-wrap
55+
+b("a").buy-book-button(href="/courses") Набор на курсы JS/Node
56+
57+
if user
58+
include ./user
59+
else
60+
include ./guest
5761

5862
include ./search
5963

0 commit comments

Comments
 (0)