Skip to content

Commit

Permalink
ADD: default pug templates
Browse files Browse the repository at this point in the history
  • Loading branch information
depemu committed Mar 30, 2019
1 parent 6828c7d commit 9537efd
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
16 changes: 5 additions & 11 deletions index.pug
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
doctype html
html(lang="en")
head
meta(charset="UTF-8")
meta(name="viewport" content="width=device-width,initial-scale=1")
title Mustart!
meta(name="description" content="")
link(rel="stylesheet" href="css/styles.min.css")
include templates/all

body
h1 Hello World!
script(src="js/bundle.min.js")
+mustart-start
h1
span.mustart-gradient-rebl-text Hello World!
+mustart-end
1 change: 1 addition & 0 deletions templates/all.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include layout
17 changes: 17 additions & 0 deletions templates/layout.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
mixin mustart-start
doctype html
html(lang="en")
head
meta(charset="UTF-8")
meta(name="viewport" content="width=device-width,initial-scale=1")
title Mustart!
meta(name="description" content="")
link(rel="stylesheet" href="css/styles.min.css")
body
if block
block

mixin mustart-end
script(src="js/bundle.min.js")
if block
block

0 comments on commit 9537efd

Please sign in to comment.