{% comment %} // Get the current LSP spec base url from the site data {% endcomment %} {% for spec in site.data.specifications %} {% for child in spec.children %} {% if spec.anchor == 'lsp' and child.version == page.lspVersion %} {% assign currentLspSpecification = child.url %} {% elsif spec.anchor == 'base' and child.version == page.baseVersion %} {% assign currentBaseSpecification = child.url %} {% endif %} {% endfor %} {% endfor %}