<commit_before>//- Navbar mixins by <NAME>
//- https://github.com/tutsplus/baking-bootstrap-snippets-with-jade
//- Author:  http://tutsplus.com/authors/kezz-bracey
mixin navbar(name, id, style)
	- var style = (typeof style === 'undefined') ? "default" : style
	nav( role="navigation", class=["navbar", "navbar-" + style] )
		.navbar-header
			button.navbar-toggle.collapsed( type="button", data-toggle="collapse", data-target="#" + id, aria-expanded="false", aria-controls="navbar")
				span.sr-only Toggle navigation
				span.icon-bar
				span.icon-bar
				span.icon-bar
			a.navbar-brand(href="#")= name

		.collapse.navbar-collapse( id=id )
			ul.nav.navbar-nav
				block

mixin nav_item(href, active)
	li(class=active): a( href=href )
		block

mixin nav_item_dropdown(href, active)
	li(class=["dropdown", active])
		a.dropdown-toggle( href=href, data-toggle="dropdown", role="button", aria-expanded="false" )= attributes.label
			span.caret
		ul.dropdown-menu( role="menu" )
				block

mixin nav_divider
	li.divider

mixin nav_header
	li.dropdown-header
		block

mixin navbar-fixed(name,id,style)
	- var style = (typeof style === 'undefined') ? "default" : style
	nav( role="navigation", class=["navbar","navbar-fixed-top","navbar-" + style] )
		.container
			.navbar-header
				button.navbar-toggle.collapsed(type='button', data-toggle='collapse', data-target='#' + id, aria-expanded='false', aria-controls='navbar')
					span.sr-only Toggle navigation
					span.icon-bar
					span.icon-bar
					span.icon-bar
				a.navbar-brand(href='#') Project name
			.collapse.navbar-collapse( id=id )
				ul.nav.navbar-nav
					block

mixin navbar-static(name,id,style)
	- var style = (typeof style === 'undefined') ? "default" : style
	nav( role="navigation", class=["navbar","navbar-static-top","navbar-" + style] )
		.container
			.navbar-header
				button.navbar-toggle.collapsed(type='button', data-toggle='collapse', data-target='#' + id, aria-expanded='false', aria-controls='navbar')
					span.sr-only Toggle navigation
					span.icon-bar
					span.icon-bar
					span.icon-bar
				a.navbar-brand(href='#') Project name
			.collapse.navbar-collapse( id=id )
				ul.nav.navbar-nav
					block
//- End navbar mixins<commit_msg>Fixed hardcoded project name<commit_after>//- Navbar mixins by <NAME>
//- https://github.com/tutsplus/baking-bootstrap-snippets-with-jade
//- Author:  http://tutsplus.com/authors/kezz-bracey
mixin navbar(name, id, style)
	- var style = (typeof style === 'undefined') ? "default" : style
	nav( role="navigation", class=["navbar", "navbar-" + style] )
		.navbar-header
			button.navbar-toggle.collapsed( type="button", data-toggle="collapse", data-target="#" + id, aria-expanded="false", aria-controls="navbar")
				span.sr-only Toggle navigation
				span.icon-bar
				span.icon-bar
				span.icon-bar
			a.navbar-brand(href="#")= name

		.collapse.navbar-collapse( id=id )
			ul.nav.navbar-nav
				block

mixin nav_item(href, active)
	li(class=active): a( href=href )
		block

mixin nav_item_dropdown(href, active)
	li(class=["dropdown", active])
		a.dropdown-toggle( href=href, data-toggle="dropdown", role="button", aria-expanded="false" )= attributes.label
			span.caret
		ul.dropdown-menu( role="menu" )
				block

mixin nav_divider
	li.divider

mixin nav_header
	li.dropdown-header
		block

mixin navbar-fixed(name,id,style)
	- var style = (typeof style === 'undefined') ? "default" : style
	nav( role="navigation", class=["navbar","navbar-fixed-top","navbar-" + style] )
		.container
			.navbar-header
				button.navbar-toggle.collapsed(type='button', data-toggle='collapse', data-target='#' + id, aria-expanded='false', aria-controls='navbar')
					span.sr-only Toggle navigation
					span.icon-bar
					span.icon-bar
					span.icon-bar
				a.navbar-brand(href='#')= name
			.collapse.navbar-collapse( id=id )
				ul.nav.navbar-nav
					block

mixin navbar-static(name,id,style)
	- var style = (typeof style === 'undefined') ? "default" : style
	nav( role="navigation", class=["navbar","navbar-static-top","navbar-" + style] )
		.container
			.navbar-header
				button.navbar-toggle.collapsed(type='button', data-toggle='collapse', data-target='#' + id, aria-expanded='false', aria-controls='navbar')
					span.sr-only Toggle navigation
					span.icon-bar
					span.icon-bar
					span.icon-bar
				a.navbar-brand(href='#')= name
			.collapse.navbar-collapse( id=id )
				ul.nav.navbar-nav
					block
//- End navbar mixins

{'fraction_non_alphanumeric': 0.16801437556154536, 'fraction_numerical': 0.0, 'mean_word_length': 3.8349619978284473, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5734075', 'n_tokens_mistral': 1761, 'n_tokens_neox': 1491, 'n_words': 288}