feat(): add support for listing tags and categories

This commit is contained in:
kendo5731 2016-02-01 23:02:33 +01:00
parent 721c05de4d
commit 9b7f46fb02
2 changed files with 29 additions and 0 deletions

View File

@ -47,6 +47,7 @@ a {
position: fixed;
height: 100%;
overflow-y: auto;
overflow-x: hidden;
}
@media (max-width: $screen-sm-max) {
@ -96,6 +97,14 @@ a {
text-decoration: none;
}
}
&.tags li:before {
@extend .glyphicon-tag;
}
&.categories li:before {
@extend .glyphicon-book;
}
}
@media (max-width: $screen-sm-max) {

View File

@ -31,6 +31,26 @@
<li><a href="#">Webservice restful avec symfony2 gerer les champs de type datetime</a></li>
</ul>
</div>
<div id="tags" class="open">
<h3 data-open="tags">Tags</h3>
<ul class="tags">
<li><a href="#">PHP</a></li>
<li><a href="#">Golang</a></li>
<li><a href="#">Javascript</a></li>
<li><a href="#">HTML</a></li>
</ul>
</div>
<div id="categories" class="open">
<h3 data-open="categories">Categories</h3>
<ul class="categories">
<li><a href="#">Archives Décembre 2015</a></li>
<li><a href="#">Archives Novembre 2015</a></li>
<li><a href="#">Archives Octobre 2015</a></li>
<li><a href="#">Archives Septembre 2015</a></li>
</ul>
</div>
</nav>
</div>
<div class="col-md-9 article-content">