Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Commit

Permalink
allow plain text in 'additional information' panel
Browse files Browse the repository at this point in the history
  • Loading branch information
zefie authored and xdarklight committed Jun 17, 2017
1 parent 4839bd4 commit 42a3cef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions website/contents/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ dt > small {
.textcontainer p {
padding: 15px;
}

.textonly {
padding: 10px 15px;
}
5 changes: 4 additions & 1 deletion website/templates/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ html(lang='en')
- linkCssClass = 'active';
- }
li(class=linkCssClass)
a(href=link.src, target=link.target) #{link.text}
if link.src
a(href=link.src, target=link.target) #{link.text}
else
div(class="textonly") !{link.text}

div.col-xs-12.col-md-9
block content
Expand Down

0 comments on commit 42a3cef

Please sign in to comment.