github.com/GoogleContainerTools/skaffold/v2@v2.13.2/docs-v1/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-v1/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 <li>{{ trim .Name ".json" }}</li> 17 {{ end }} 18 </ul> 19 20 <script src="../../../javascripts/schemas.js"></script> 21 {{ end }} 22 </div> 23 {{ end }} 24 {{ end }}