Skip to content

Commit

Permalink
working but broken
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed May 24, 2015
1 parent 48f9f66 commit de47e82
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
27 changes: 13 additions & 14 deletions v7/base-jade/templates/crumbs.jade
@@ -1,14 +1,13 @@
!!! 5
include base_helper.jade
html(lang=lang)
head
+base_head()
title= pageTitle

body
h1.title Jade - node template engine
#container
if youAreUsingJade
p You are amazing
else
p Get on it!
mixin bar(crumbs)
if crumbs
nav(class='breadcrumbs')
ul(class='breadcrumb')
for link, text in crumbs
if text != index_file
if link == '#'
li
= text
else
li
a(href=link)
= text
2 changes: 1 addition & 1 deletion v7/base-jade/templates/listing.jade
@@ -1,5 +1,5 @@
extends base
- import 'crumbbar.jade' as crumbbar
- import 'crumbs.jade' as crumbbar

block content
!= crumbbar.bar(crumbs)
Expand Down

0 comments on commit de47e82

Please sign in to comment.