tuwien-csd / damap-frontend

MIT License
11 stars 10 forks source link

Add environment variable for dynamic HTML <title> based on Institution #355

Closed lpandath closed 2 weeks ago

lpandath commented 3 weeks ago

Changes Introduce an environment variable to set the HTML dynamically in index.html, so that it reflects the institution’s name (e.g., “DMP Tool TUGraz”, “DMP Tool MUG”).</p> <p><strong>Additional notes</strong> The title should be configurable based on the institution, ideally set via an environment variable.</p> <p><strong>Assumptions</strong></p> <ol> <li>The title change will only be reflected on initial page load.</li> <li>Environment variable setup is compatible with current deployment configurations.</li> </ol> <p><strong>Acceptance Criteria</strong> The <title> in index.html can be set from an environment variable.</p> <p><strong>Risks? (optional)</strong> Potential risks and how to best mitigate them.</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>