diff options
author | Case Duckworth | 2022-06-09 22:24:56 -0500 |
---|---|---|
committer | Case Duckworth | 2022-06-09 22:24:56 -0500 |
commit | ac2d0b513f113b86e9d59c006e557dd874078be3 (patch) | |
tree | ec8920ab79d99fe0360b6a6722292ed1017eb60c | |
parent | Move my configured makefile stuff to cgit.conf (diff) | |
download | cgit-ac2d0b513f113b86e9d59c006e557dd874078be3.tar.gz cgit-ac2d0b513f113b86e9d59c006e557dd874078be3.zip |
Add footer
-rw-r--r-- | cgit.css | 6 | ||||
-rw-r--r-- | cgitrc | 2 | ||||
-rw-r--r-- | footer.txt | 9 |
3 files changed, 14 insertions, 3 deletions
diff --git a/cgit.css b/cgit.css index 4ece3a5..2dd656f 100644 --- a/cgit.css +++ b/cgit.css | |||
@@ -652,13 +652,13 @@ div#cgit span.deletions { | |||
652 | 652 | ||
653 | div#cgit div.footer { | 653 | div#cgit div.footer { |
654 | margin-top: 0.5em; | 654 | margin-top: 0.5em; |
655 | text-align: center; | 655 | text-align: right; |
656 | font-size: 80%; | 656 | font: 12px monospace; |
657 | color: goldenrod; | 657 | color: goldenrod; |
658 | } | 658 | } |
659 | 659 | ||
660 | div#cgit div.footer a { | 660 | div#cgit div.footer a { |
661 | color: goldenrod; | 661 | color: #b77300; |
662 | text-decoration: none; | 662 | text-decoration: none; |
663 | } | 663 | } |
664 | 664 | ||
diff --git a/cgitrc b/cgitrc index 1eae82f..9292df8 100644 --- a/cgitrc +++ b/cgitrc | |||
@@ -20,6 +20,8 @@ max-repodesc-length=100 | |||
20 | section-from-path=1 | 20 | section-from-path=1 |
21 | max-repo-count=100 | 21 | max-repo-count=100 |
22 | 22 | ||
23 | footer=/usr/local/cgit/share/footer.txt | ||
24 | |||
23 | mimetype.gif=image/gif | 25 | mimetype.gif=image/gif |
24 | mimetype.html=text/html | 26 | mimetype.html=text/html |
25 | mimetype.jpg=image/jpeg | 27 | mimetype.jpg=image/jpeg |
diff --git a/footer.txt b/footer.txt new file mode 100644 index 0000000..d5b1f33 --- /dev/null +++ b/footer.txt | |||
@@ -0,0 +1,9 @@ | |||
1 | <div class="footer"> | ||
2 | © 2022 C. Duckworth. | ||
3 | generated by | ||
4 | <a href="cgit" >cgit</a>. | ||
5 | comments, issues, and patches welcome at | ||
6 | < | ||
7 | <a href="mailto:git@acdw.net" >git <em>at</em> acdw <em>dot</em> net</a> | ||
8 | >. | ||
9 | </div> | ||