Fixed a formatting problem

This commit is contained in:
Robert Del Favero 2018-10-23 15:43:54 -07:00 committed by GitHub
parent b6b5fd7c7f
commit 7a2133e553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,8 @@ For example, the sidebar.html file contains the following code:
{% raw %}
```liquid
{% if folderitem.external_url %}
<li><a href="{{folderitem.external_url}}" target="_blank">{{folderitem.title}}</a></li>```
<li><a href="{{folderitem.external_url}}" target="_blank">{{folderitem.title}}</a></li>
```
{% endraw %}
You can see that the `external_url` is a condition that applies a different formatting. Although this feature is available, I recommend putting any external navigation links in the top navigation bar instead of the side navigation bar.