mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
run prettier on html files
This commit is contained in:
+7
-8
@@ -14,15 +14,14 @@
|
||||
<h1>{{.CommitHashShortened}} | {{.CommitName}}</h1>
|
||||
</div>
|
||||
<div class="userReadme">
|
||||
{{.CommitName}} <pre>{{.CommitDesc}}</pre> {{.CommitHashShortened}} {{.CommitDate}} {{.Commiter}} {{.CommitToBranch}} {{.PreviousCommit}}
|
||||
Members: {{range .Commiter}}
|
||||
<a href="/{{.}}" target="_blank">@{{.}}</a>
|
||||
{{ end }}
|
||||
{{.CommitName}}
|
||||
<pre>{{.CommitDesc}}</pre>
|
||||
{{.CommitHashShortened}} {{.CommitDate}} {{.Commiter}} {{.CommitToBranch}}
|
||||
{{.PreviousCommit}} Members: {{range .Commiter}}
|
||||
<a href="/{{.}}" target="_blank">@{{.}}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{end}}
|
||||
{{ .file}}
|
||||
|
||||
{{ else }}
|
||||
{{end}} {{ .file}} {{ else }}
|
||||
<h2>Directory not found</h2>
|
||||
<p>That directory doesn't exist.</p>
|
||||
{{ end }}
|
||||
|
||||
+5
-2
@@ -3,10 +3,13 @@
|
||||
<main>
|
||||
{{ if .dir }} {{ range $key, $value := .dir}}
|
||||
<div class="buttonParent">
|
||||
<a rel="noreferrer" href="https://github.com/{{.Fullname}}/tree/{{.Branch}}/{{.DirName}}" class="button"
|
||||
<a
|
||||
rel="noreferrer"
|
||||
href="https://github.com/{{.Fullname}}/tree/{{.Branch}}/{{.DirName}}"
|
||||
class="button"
|
||||
>View on GitHub</a
|
||||
>
|
||||
<a href="/{{.Fullname}}/tree/{{.Branch}}/{{.Branch}}" class="button"
|
||||
<a href="/{{.Fullname}}/tree/{{.Branch}}/{{.Branch}}" class="button"
|
||||
>Back to {{.Fullname}}</a
|
||||
>
|
||||
</div>
|
||||
|
||||
+2
-1
@@ -12,7 +12,8 @@
|
||||
<a href="https://codeberg.org/gothub/gothub/issues" target="_blank"
|
||||
>Create an issue on Codeberg.</a
|
||||
>
|
||||
Or view this page on <a rel="noreferrer" href="https://github.com{{.link}}">GitHub</a>
|
||||
Or view this page on
|
||||
<a rel="noreferrer" href="https://github.com{{.link}}">GitHub</a>
|
||||
</h3>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
+3
-1
@@ -3,7 +3,9 @@
|
||||
<main>
|
||||
{{ if .user }} {{ range $key, $value := .user}}
|
||||
<div class="buttonParent">
|
||||
<a rel="noreferrer" href="https://github.com/{{.Login}}" class="button">View on GitHub</a>
|
||||
<a rel="noreferrer" href="https://github.com/{{.Login}}" class="button"
|
||||
>View on GitHub</a
|
||||
>
|
||||
</div>
|
||||
<div class="userProfile">
|
||||
<img
|
||||
|
||||
Reference in New Issue
Block a user