This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
brett.is
mirror of
https://github.com/brettlangdon/brett.is.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
remove unused/necessary author mixin
pull/1/head
Brett Langdon
12 years ago
parent
ae68f2e4b5
commit
44f1c1746f
3 changed files
with
1 additions
and
12 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
templates/article.jade
+0
-8
templates/author.jade
+0
-1
templates/index.jade
+ 1
- 3
templates/article.jade
View File
@ -8,11 +8,9 @@ block prepend title
| #{ page.title + " - "}
block append header
include author
h1= page.title
p.author
| #{ "Written by " }
mixin author(page.metadata.author)
| Written by #{page.metadata.author}
block content
article.article
+ 0
- 8
templates/author.jade
View File
@ -1,8 +0,0 @@
mixin author(authorName)
- var author = contents.authors[authorName + '.json']
span.author
if author
a(href='mailto:'+author.metadata.email)= author.metadata.name
else
=authorName
+ 0
- 1
templates/index.jade
View File
@ -1,7 +1,6 @@
extends layout
block content
include author
each article in articles
article.article.intro
header
Write
Preview
Loading…
Cancel
Save