aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2024-02-22 16:02:47 +0100
committerCem Keylan <cem@ckyln.com>2024-02-22 16:02:47 +0100
commite1137646a1b13b0d96ff8524f8f6f2702daf389c (patch)
treefe237e7f61b4f9990398232baabe97f9e29e6ad0 /layouts
parentb0eac72afeae3b0ef3cb4b3b765f8e55a737e729 (diff)
downloadwebsite-e1137646a1b13b0d96ff8524f8f6f2702daf389c.tar.gz
home: use inline js for reading latest package info
Diffstat (limited to 'layouts')
-rw-r--r--layouts/page/index.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/layouts/page/index.html b/layouts/page/index.html
index 3aa7497..ec8a704 100644
--- a/layouts/page/index.html
+++ b/layouts/page/index.html
@@ -9,9 +9,10 @@
</ul>
<hr>
<h3>Latest Package Changes</h3>
-<ul>
- <script src="https://git.carbslinux.org/exports/repository.js"></script>
-</ul>
+<script type="text/javascript">
+ {{ os.ReadFile "/static/commits.js" | safeJS }}
+</script>
+<div id="commits"></div>
<hr>
<h2>News</h2>
<a href="{{"news/index.xml"|relURL}}">RSS Feed</a> |