mixin chickenLittle
	.jumbotron.dark.center.fixed-background(style="background-image: url(/images/wallpaper.jpg); padding-top: 70px; padding-bottom: 10px;")
		.container
			| The sky is falling, but you can help!  Post a pic to help us track Near-Earth Objects and save the chickens from destruction.&nbsp;&nbsp;
			a.btn.clear(href="/upload") Upload
			
mixin feed()
	.container.feed
		each val in results
			.feed-item
				img(src=val.get("src"), alt='')
				.text
					h4=val.get("name")
					p=val.get("description")
mixin chickenLittle
	.jumbotron.dark.center.fixed-background(style="background-image: url(/images/wallpaper.jpg); padding-top: 70px; padding-bottom: 10px;")
		.container
			| The sky is falling, but you can help!  Post a pic to help us track Near-Earth Objects and save the chickens from destruction.&nbsp;&nbsp;
			if authed
				a.btn.clear(href="/upload") Upload
			else
				a.btn.clear(href="/signin") Sign In
				| &nbsp;&nbsp;or
				a.btn.clear(href="/signup") Sign Up
			
mixin feed()
	.container.feed
		each val in results
			.feed-item
				img(src=val.get("src"), alt='')
				.text
					h4=val.get("name")
					p=val.get("description")
Remove upload button if logged out
Remove upload button if logged out
