Merge pull request #142 from EXPErdelfavero/patch-1

Fixed a formatting problem
This commit is contained in:
Tom Johnson 2018-12-08 23:11:28 -08:00 committed by GitHub
commit 96df81310d
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.