Skip to content

Commit 57d7998

Browse files
committed
Added fork status for #4
1 parent ebb0e29 commit 57d7998

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

views/index.pug

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ block content
55
h1= title
66
each repo in repos
77
.col-4.float-left.border.p-4
8-
h3.mb-1
8+
if repo.fork
9+
!= octicons['repo-forked'].toSVG()
10+
else
11+
!= octicons.repo.toSVG()
12+
h3.mb-1.d-inline-block
13+
|  
914
a(href=repo.html_url target="_blank")= repo.name
1015
if repo.homepage
1116
p.mb-1

0 commit comments

Comments
 (0)