Inline paid and beta labels for sidebar

This commit is contained in:
Samuel Goodell 2017-07-10 14:03:39 -05:00
parent 1a9a843cde
commit c43a51e2bb

View File

@ -6,5 +6,5 @@
</li> </li>
<@- for doc in docs @><@ if doc.URL and doc.private != true @> <@- for doc in docs @><@ if doc.URL and doc.private != true @>
<li class="capitalize {% if page.id == '<$ doc.name|lower|dashify $>' %}active{% endif %}"> <li class="capitalize {% if page.id == '<$ doc.name|lower|dashify $>' %}active{% endif %}">
<a href="/<$ doc.URL $>"><$ doc.name $></a> <@ if doc.paid == true @><span class="paid">Paid</span><@ endif @><@ if doc.beta == true @><span class="beta">&beta;</span><@ endif @> <a href="/<$ doc.URL $>"><$ doc.name $><@ if doc.paid == true @> <span class="paid">Paid</span><@ endif @><@ if doc.beta == true @> <span class="beta">&beta;</span><@ endif @></a>
</li><@ endif @><@ endfor @> </li><@ endif @><@ endfor @>