Changes
3 changed files (+12/-7)
-
-
@@ -192,10 +192,6 @@ func (d *deps) RepoIndex(w http.ResponseWriter, r *http.Request) {} } if readmeContent == "" { log.Printf("no readme found for %s", name) } tpath := filepath.Join(d.c.Dirs.Templates, "*") t := template.Must(template.ParseGlob(tpath))
-
-
-
@@ -2,6 +2,11 @@* SPDX-License-Identifier: MIT */ .no-readme-placeholder { font-style: italic; color: var(--color-fg-weak); } .recent-commits { margin-block-start: var(--space-xl); }
-
-
-
@@ -29,9 +29,13 @@ SPDX-License-Identifier: MIT{{ template "repo-nav" . }} </header> <main class="main"> <article class="html-content"> {{- .Readme -}} </article> {{- if eq .Readme "" -}} <p class="no-readme-placeholder">[ This repository has no README file. ]</p> {{- else -}} <article class="html-content"> {{- .Readme -}} </article> {{- end -}} </main> <div class="aside"> <aside>
-