Skip to content

Commit c325b6c

Browse files
author
markzegarelli
committed
fix destination dossier for private destinations
1 parent defd045 commit c325b6c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/_includes/content/destination-dossier.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33

44
{% assign overrideInfo = site.data.catalog.overrides.items % | where: "id", thisDestination | first %}
55

6+
{% if page.private %}
7+
{% assign destinationInfo = site.data.catalog.destinations_private.items | where: "id", thisDestination | first %}
8+
{% else %}
69
{% assign destinationInfo = site.data.catalog.destinations.items | where: "id", thisDestination | first %}
710

11+
{% endif %}
12+
813
{% comment %}There are probably prettier ways to generate a list of links to these methods, but this was good enough for me.{% endcomment %}
914
{% assign destMethods = "" | split: ", " %}
1015
{% assign methodName = "" | split: " " %}

0 commit comments

Comments
 (0)