mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	New version of Harp would render attribute=false as attribute="false", while attribute=null renders element without attribute.
		
			
				
	
	
		
			18 lines
		
	
	
		
			453 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			453 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
//- 💫 INCLUDES > TOP NAVIGATION
 | 
						|
 | 
						|
include _mixins
 | 
						|
 | 
						|
nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
 | 
						|
    a(href='/') #[+logo]
 | 
						|
 | 
						|
    if SUBSECTION != "index"
 | 
						|
        .u-text-label.u-padding-small=SUBSECTION
 | 
						|
 | 
						|
    ul.c-nav__menu
 | 
						|
        each url, item in NAVIGATION
 | 
						|
            li.c-nav__menu__item
 | 
						|
                +a(url)=item
 | 
						|
 | 
						|
        li.c-nav__menu__item
 | 
						|
            +a(gh("spaCy"))(aria-label="GitHub").u-hidden-xs #[+icon("github", 20)]
 |