Skip to content

Commit

Permalink
Added tags to templates to know the features of each one
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Dec 7, 2014
1 parent 445bc25 commit 62fcc29
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions website/less/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@import "timeline";
@import "portfolio";
@import "sidebar";
@import "templates";

// Global Components

Expand Down
10 changes: 10 additions & 0 deletions website/less/templates.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#templates.portfolio .portfolio-item {
.template-features {
.label {
font-size: 75%;
font-weight: normal;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-style: normal;
}
}
}
12 changes: 12 additions & 0 deletions website/templates.twig
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
<div class="portfolio-caption">
<h4>Couscous Light</h4>
<p class="text-muted">The default template.</p>
<p class="template-features">
<span class="label label-default">optional menu</span>
<span class="label label-default">syntax highlighting</span>
</p>
</div>
</div>

Expand All @@ -43,6 +47,11 @@
<div class="portfolio-caption">
<h4>Couscous Dark</h4>
<p class="text-muted">A dark template.</p>
<p class="template-features">
<span class="label label-default">optional menu</span>
<span class="label label-default">sections</span>
<span class="label label-default">syntax highlighting</span>
</p>
</div>
</div>

Expand All @@ -58,6 +67,9 @@
<div class="portfolio-caption">
<h4>Basic template</h4>
<p class="text-muted">A basic template example.</p>
<p class="template-features">
<span class="label label-default">syntax highlighting</span>
</p>
</div>
</div>

Expand Down

0 comments on commit 62fcc29

Please sign in to comment.