github.com/GoogleContainerTools/skaffold/v2@v2.13.2/docs-v2/layouts/partials/page-meta-links.html (about)

     1  {{ if .Path }}
     2  {{ $gh_repo := ($.Param "github_repo") }}
     3  {{ if $gh_repo }}
     4  <div class="td-page-meta ml-2 pb-1 pt-2 mb-0">
     5  {{ $editURL := printf "%s/edit/main/docs-v2/content/%s/%s" $gh_repo ($.Site.Language.Lang) .Path }}
     6  {{ $issuesURL := printf "%s/issues/new?title=%s" $gh_repo (htmlEscape $.Title )}}
     7  <a href="{{ $editURL }}" target="_blank"><i class="fa fa-edit fa-fw"></i> {{ T "post_edit_this" }}</a>
     8  <a href="{{ $issuesURL }}" target="_blank"><i class="fab fa-github fa-fw"></i> {{ T "post_create_issue" }}</a>
     9  {{ if in .Permalink "/docs/references/yaml"}}
    10      <br>
    11      <div>Schema Versions</div>
    12      <select id="schema_links" onchange="selectSchema(this)">
    13      </select>
    14      <ul id="schema_list" hidden>
    15      {{ range (readDir "/content/en/schemas") }}
    16          {{ if strings.HasSuffix .Name ".json"}}
    17          <li>{{ trim .Name ".json" }}</li>
    18          {{ end }}
    19      {{ end }}
    20      </ul>
    21  
    22      <script src="../../../javascripts/schemas.js"></script>
    23  {{ end }}
    24  </div>
    25  {{ end }}
    26  {{ end }}