include, extend file path correction
This commit is contained in:
@@ -7,17 +7,7 @@ html(lang="en")
|
||||
block title
|
||||
title Pugz Store
|
||||
body
|
||||
header.header
|
||||
.container
|
||||
.header-content
|
||||
a.logo(href="/") Pugz Store
|
||||
nav.nav
|
||||
a.nav-link(href="/") Home
|
||||
a.nav-link(href="/products") Products
|
||||
a.nav-link(href="/about") About
|
||||
.header-actions
|
||||
a.cart-link(href="/cart")
|
||||
| Cart (#{cartCount})
|
||||
include ../partials/navbar.pug
|
||||
|
||||
main
|
||||
block content
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
extends layouts/base.pug
|
||||
extends ../layouts/base.pug
|
||||
|
||||
block title
|
||||
title #{title} | Pugz Store
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
extends layouts/base.pug
|
||||
extends ../layouts/base.pug
|
||||
|
||||
block title
|
||||
title #{title} | Pugz Store
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
extends layouts/base.pug
|
||||
extends ../layouts/base.pug
|
||||
|
||||
block title
|
||||
title #{title} | Pugz Store
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
extends layouts/base.pug
|
||||
include mixins/forms.pug
|
||||
include mixins/alerts.pug
|
||||
include mixins/buttons.pug
|
||||
extends ../layouts/base.pug
|
||||
include ../mixins/forms.pug
|
||||
include ../mixins/alerts.pug
|
||||
include ../mixins/buttons.pug
|
||||
|
||||
block content
|
||||
h1 Checkout
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
extends layouts/base.pug
|
||||
extends ../layouts/base.pug
|
||||
|
||||
block title
|
||||
title #{title} | Pugz Store
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
extends layouts/base.pug
|
||||
extends ../layouts/base.pug
|
||||
|
||||
block title
|
||||
title Include Demo | Pugz Store
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
extends layouts/base.pug
|
||||
extends ../layouts/base.pug
|
||||
|
||||
block title
|
||||
title #{productName} | Pugz Store
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
extends layouts/base.pug
|
||||
extends ../layouts/base.pug
|
||||
|
||||
block title
|
||||
title #{title} | Pugz Store
|
||||
|
||||
11
examples/demo/views/partials/navbar.pug
Normal file
11
examples/demo/views/partials/navbar.pug
Normal file
@@ -0,0 +1,11 @@
|
||||
header.header
|
||||
.container
|
||||
.header-content
|
||||
a.logo(href="/") Pugz Store
|
||||
nav.nav
|
||||
a.nav-link(href="/") Home
|
||||
a.nav-link(href="/products") Products
|
||||
a.nav-link(href="/about") About
|
||||
.header-actions
|
||||
a.cart-link(href="/cart")
|
||||
| Cart (#{cartCount})
|
||||
Reference in New Issue
Block a user