From a565255410ff8bac140afc5f3601e1f8fc7c44aa Mon Sep 17 00:00:00 2001 From: Anurag Singh Date: Mon, 16 Nov 2026 23:38:44 +0530 Subject: [PATCH] feat(asf): link to the source repository in the footer --- config/conf.js | 1 + views/foot.pug | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config/conf.js b/config/conf.js index 5802f8ea..5e8ca7bf 100644 --- a/config/conf.js +++ b/config/conf.js @@ -106,6 +106,7 @@ module.exports = { classification: 'This tool is based on Vulnogram, contact security@apache.org with any queries or problems', copyright: ' ', + sourceURL: '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/apache/security-vulnogram', // Uncomment this line and set a random string to allow unauthenticated access to draft CVE entries that are in review-ready or publish-ready state via /review// or /review//CVE-ID // This may be useful to share a link to the draft for internal reviews and only those with the link have access to the drafts. diff --git a/views/foot.pug b/views/foot.pug index 0d5a85ab..c1e377da 100644 --- a/views/foot.pug +++ b/views/foot.pug @@ -23,4 +23,8 @@ center.pad = conf.orgName | = conf.groupName - block logolink \ No newline at end of file + if conf.sourceURL + br + small + a.tgrey(href=conf.sourceURL, target='_blank') Source code + block logolink \ No newline at end of file