il with a warning -#}
    {%- else -%}
      {{ warning(
        "Could not understand `source_repository` provided: " + repo + "\n" +
        "You should set `source_view_link`, so that the view link is presented."
      ) }}
    {%- endif -%}
  {%- elif show_source and has_source -%}
    {{ pathto('_sources/' + sourcename, true) }}
  {%- endif -%}
{%- endmacro -%}


{%- if page_source_suffix -%}
  {%- set can_find_view_link = (
    (theme_source_view_link and pagename)
    or (show_source and has_source a