diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-10 21:49:06 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-10 21:49:06 +0800 |
commit | 6285ebff7e53657b2ca3b7cfa726e2fef524f0ce (patch) | |
tree | a25d943325326f4ad818fb0681a8eb3e871062bf /templates | |
parent | main: Prefix group names with /g/ (diff) | |
download | forge-6285ebff7e53657b2ca3b7cfa726e2fef524f0ce.tar.gz forge-6285ebff7e53657b2ca3b7cfa726e2fef524f0ce.tar.zst forge-6285ebff7e53657b2ca3b7cfa726e2fef524f0ce.zip |
footer.html: Add link to Lindenii Forge
Diffstat (limited to '')
-rw-r--r-- | templates/category_repos.html | 3 | ||||
-rw-r--r-- | templates/footer.html | 3 | ||||
-rw-r--r-- | templates/index.html | 3 | ||||
-rw-r--r-- | templates/repo_index.html | 3 | ||||
-rw-r--r-- | templates/repo_tree_dir.html | 3 | ||||
-rw-r--r-- | templates/repo_tree_file.html | 3 |
6 files changed, 18 insertions, 0 deletions
diff --git a/templates/category_repos.html b/templates/category_repos.html index aa4c926..917b62e 100644 --- a/templates/category_repos.html +++ b/templates/category_repos.html @@ -18,6 +18,9 @@ {{- end }} </ul> </div> + <footer> + {{ template "footer" . }} + </footer> </body> </html> {{- end -}} diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 0000000..b7a9061 --- /dev/null +++ b/templates/footer.html @@ -0,0 +1,3 @@ +{{- define "footer" -}} +<a href="https://lindenii.runxiyu.org/forge/">Lindenii Forge</a> (<a href="/source/">source</a>, <a href="https://forge.lindenii.runxiyu.org/g/lindenii/repos/forge/">upstream</a>) +{{- end -}} diff --git a/templates/index.html b/templates/index.html index 79e3cba..3f08355 100644 --- a/templates/index.html +++ b/templates/index.html @@ -18,6 +18,9 @@ {{- end }} </ul> </div> + <footer> + {{ template "footer" . }} + </footer> </body> </html> {{- end -}} diff --git a/templates/repo_index.html b/templates/repo_index.html index 7ae7bcd..664cce8 100644 --- a/templates/repo_index.html +++ b/templates/repo_index.html @@ -83,6 +83,9 @@ </table> {{ end }} </div> + <footer> + {{ template "footer" . }} + </footer> </body> </html> {{- end -}} diff --git a/templates/repo_tree_dir.html b/templates/repo_tree_dir.html index 60d9ede..aa29542 100644 --- a/templates/repo_tree_dir.html +++ b/templates/repo_tree_dir.html @@ -56,6 +56,9 @@ </table> {{ end }} </div> + <footer> + {{ template "footer" . }} + </footer> </body> </html> {{- end -}} diff --git a/templates/repo_tree_file.html b/templates/repo_tree_file.html index b1ba877..7012cb1 100644 --- a/templates/repo_tree_file.html +++ b/templates/repo_tree_file.html @@ -11,6 +11,9 @@ /{{ .path_spec }} </p> {{ .file_contents }} + <footer> + {{ template "footer" . }} + </footer> </body> </html> {{- end -}} |