forked from tangled.org/core
this repo has no description

add push/clone over ssh urls to repo index

Changed files
+22 -1
appview
pages
templates
+15
appview/pages/templates/repo/empty.html
···
</p>
</main>
{{ end }}
+
+
{{ define "repoAfter" }}
+
<section class="mt-4 p-6 rounded bg-white w-full mx-auto overflow-auto">
+
<strong>push</strong>
+
<pre>
+
git remote add origin git@tangled.sh:{{ .RepoInfo.OwnerWithAt }}/{{ .RepoInfo.Name }} </pre
+
>
+
<strong>clone</strong>
+
<pre>
+
git clone https://tangled.sh/{{ .RepoInfo.OwnerWithAt }}/{{ .RepoInfo.Name }}
+
git clone git@tangled.sh:{{ .RepoInfo.OwnerWithAt }}/{{ .RepoInfo.Name }}
+
</pre
+
>
+
</section>
+
{{ end }}
+7 -1
appview/pages/templates/repo/index.html
···
<section class="mt-4 p-6 rounded bg-white w-full mx-auto overflow-auto">
+
<strong>push</strong>
+
<pre>
+
git remote add origin git@tangled.sh:{{ .RepoInfo.OwnerWithAt }}/{{ .RepoInfo.Name }} </pre
+
>
<strong>clone</strong>
<pre>
-
git clone https://tangled.sh/{{ .RepoInfo.OwnerWithAt }}/{{ .RepoInfo.Name }} </pre
+
git clone https://tangled.sh/{{ .RepoInfo.OwnerWithAt }}/{{ .RepoInfo.Name }}
+
git clone git@tangled.sh:{{ .RepoInfo.OwnerWithAt }}/{{ .RepoInfo.Name }}
+
</pre
>
</section>
{{ end }}