Skip to content

Commit

Permalink
Fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDewes committed Jul 2, 2021
1 parent 522f5fb commit 6fbab69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _layouts/docs.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ layout: default
{% assign targeturl = item.url %}
{% assign targettext = item.title %}
{% else %}
{% for doc in collections.docs %}
{% assign documentbase = "docs/" | append: doc.template.parsed.base | replace: ".md", "" %}
{% assign documentbaseurl = "/docs/" | append: doc.template.parsed.base | replace: ".md", "" %}
{% assign documentbase = "docs/" | append: doc.template.parsed.base %}
{% assign documentbasepath = doc.template.parsed.base | slug %}
{% assign documentbaseurl = "/docs/" | append: documentbasepath %}
{% if documentbase == item %}
{% assign targeturl = documentbaseurl %}
{% assign targettext = doc.data.title %}
Expand Down

0 comments on commit 6fbab69

Please sign in to comment.