SHARE
TWEET

Untitled

a guest Oct 21st, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mixin breadcrumbs(items, last)
  2.     .breadcrumb
  3.         each item in items
  4.             if (items.lenth === 1)
  5.                 span.breadcrumb__item= item
  6.             else
  7.                 a(href="#" title=item).breadcrumb__item= item
  8.         if last
  9.                 span.breadcrumb__item= last
  10.         else
  11.        
  12. В PUG вызываем
  13. +breadcrumbs(['На главную','Финансовая грамотность'], 'О направлении')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top