fixing small error in sidebar include code

This commit is contained in:
tomjohnson1492
2016-04-05 08:32:22 -07:00
parent 3b2241c958
commit 8100e01ecf
7 changed files with 22 additions and 5 deletions

1
_includes/callout.html Normal file
View File

@ -0,0 +1 @@
<div markdown="span" class="bs-callout bs-callout-{{include.type}}">{{include.content}}</div>

1
_includes/important.html Normal file
View File

@ -0,0 +1 @@
<div markdown="span" class="alert alert-warning" role="alert"><i class="fa fa-warning"></i> <b>Important:</b> {{include.content}}</div>

1
_includes/note.html Normal file
View File

@ -0,0 +1 @@
<div markdown="span" class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i> <b>Note:</b> {{include.content}}</div>

View File

@ -13,7 +13,7 @@
{% if folderitem.external_url %}
<li><a href="{{folderitem.external_url}}" target="_blank">{{folderitem.title}}</a></li>
{% elsif page.url == folderitem.url %}
<li class="active"><a href="{{item.url | prepend: site.baseurl}}">{{folderitem.title}}</a></li>
<li class="active"><a href="{{folderitem.url | prepend: site.baseurl}}">{{folderitem.title}}</a></li>
{% else %}
<li><a href="{{folderitem.url | prepend: site.baseurl}}">{{folderitem.title}}</a></li>
{% endif %}

1
_includes/tip.html Normal file
View File

@ -0,0 +1 @@
<div markdown="span" class="alert alert-success" role="alert"><i class="fa fa-check-square-o"></i> <b>Tip:</b> {{include.content}}</div>

1
_includes/warning.html Normal file
View File

@ -0,0 +1 @@
<div markdown="span" class="alert alert-danger" role="alert"><i class="fa fa-exclamation-circle"></i> <b>Warning:</b> {{include.content}}</div>

View File

@ -148,10 +148,10 @@ table > tfoot > tr > td {
table > thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid #ddd;
text-transform: uppercase;
background-color: #444;
text-transform: none;
background-color: #777;
color: white;
text-align: center;
text-align: left;
}
table > caption + thead > tr:first-child > th,
table > colgroup + thead > tr:first-child > th,
@ -1015,3 +1015,15 @@ li.sidebarTitle {
font-weight: bold;
color: black;
}
a code {
color: #248EC2;
}
code + a > code {
margin-left: -7px;
}
table th code {
color: white;
}