Skip to content

Commit

Permalink
- rename img file
Browse files Browse the repository at this point in the history
-modulized the head
  • Loading branch information
Hartecode committed Aug 4, 2019
1 parent 87e79d2 commit bc51a15
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
File renamed without changes
9 changes: 9 additions & 0 deletions views/head.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
head
meta(charset="UTF-8")
meta(name="viewport" content="width=device-width, initial-scale=1.0")
meta(http-equiv="X-UA-Compatible" content="ie=edge")
meta(name="description" content="Panda ipsum is a text generator for placeholder text. Great for people who want their love of pandas to show in their development process.")
meta(name="keywords" content="Panda, Ipsum, panda, ispum, Panda Ipsum, panda ipsum, developer, programer, placeholder text, lorem ipsum, lorem")
title Panda Ispum
link(rel="stylesheet" type="text/css" href="/css/normalize.css")
link(rel="stylesheet" type="text/css" href="/css/index.css")
2 changes: 1 addition & 1 deletion views/header.pug
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
header(class="header")
img(src="/images/panda.png" alt="panda")
img(src="/img/panda.png" alt="panda")
h1 Panda Ipsum
10 changes: 1 addition & 9 deletions views/template.pug
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@

doctype html
html
head
meta(charset="UTF-8")
meta(name="viewport" content="width=device-width, initial-scale=1.0")
meta(http-equiv="X-UA-Compatible" content="ie=edge")
meta(name="description" content="Panda ipsum is a text generator for placeholder text. Great for people who want their love of pandas to show in their development process.")
meta(name="keywords" content="Panda, Ipsum, panda, ispum, Panda Ipsum, panda ipsum, developer, programer, placeholder text, lorem ipsum, lorem")
title Panda Ispum
link(rel="stylesheet" type="text/css" href="/css/normalize.css")
link(rel="stylesheet" type="text/css" href="/css/index.css")
include head
body
block header
include header
Expand Down

0 comments on commit bc51a15

Please sign in to comment.