From 92f889fe2e8662b8f66329ec1d32961942812605 Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 3 Nov 2021 15:19:32 +0100 Subject: Finally fix Gitea --- htdocs/public/projects/index.ejs | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 htdocs/public/projects/index.ejs (limited to 'htdocs/public/projects/index.ejs') diff --git a/htdocs/public/projects/index.ejs b/htdocs/public/projects/index.ejs new file mode 100644 index 0000000..4dd2431 --- /dev/null +++ b/htdocs/public/projects/index.ejs @@ -0,0 +1,34 @@ +<% global.title = "Projects"; %> +<%- include(`${private}/header.ejs`) %> + +← Go back home + +
+ +

Projects

+

This is the page where all legal documents are posted. All the content is signed using a GPG key, it's very important + that you check for the validity of the legal content you see on this website, as it may have been compromised.

+ +
+ <% for (let project of JSON.parse(fs.readFileSync("./global/gitea.json").toString()).sort((a, b) => a.update - b.update).reverse()) { %> +
+ "> +

<%- project.name %>

+

<%- project.description %>

+

+ <% if (project.website !== null) { %> + Website + View + <% } else { %> + View + <% } %> +

+
+ <% } %> +
+ +<%- include(`${private}/footer.ejs`) %> \ No newline at end of file -- cgit