summaryrefslogtreecommitdiffstats
path: root/site-desc.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-08 10:00:20 +0200
committerDanilo M. <danix@danix.xyz>2026-05-08 10:00:20 +0200
commit16be7b046b8c10cefa3fbc5a1883d73cfc627a01 (patch)
tree958d63743e2630cf5a9c78a398e2a83b49826550 /site-desc.html
parentcb09e76adc9d09765b3c3e19e0c2ee32c480c2fd (diff)
downloadcgit-theme-danix-16be7b046b8c10cefa3fbc5a1883d73cfc627a01.tar.gz
cgit-theme-danix-16be7b046b8c10cefa3fbc5a1883d73cfc627a01.zip
feat: add welcome text to index page via root-readme
Inject site-desc.html on the repo list page using cgit's root-readme option. Mirrors the welcome text and signature from the gitweb theme.
Diffstat (limited to 'site-desc.html')
-rw-r--r--site-desc.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/site-desc.html b/site-desc.html
new file mode 100644
index 0000000..b833182
--- /dev/null
+++ b/site-desc.html
@@ -0,0 +1,15 @@
+<div class="site-desc">
+ <h2>My work</h2>
+ <p>
+ Welcome to my git repository. Here's what I've been working on in the past,
+ today, and what I'll be (probably) working on in the future.
+ </p>
+ <p>
+ Feel free to have a look at the code I've written and don't hesitate to
+ <a href="https://danix.xyz/is/here/">drop me a few lines</a> if you want to.
+ </p>
+ <p class="welcome-close">I wish you a great day!</p>
+ <p class="signature-wrap">
+ <img height="100" width="200" src="/cgit-theme/images/signature.png" alt="danix's signature" />
+ </p>
+</div>