File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232import sys
3333import textwrap
3434import time
35+ from datetime import datetime
3536from pathlib import Path
3637
3738from yaml12 import format_yaml
@@ -2513,6 +2514,35 @@ def create_hub_page(results: list[dict]) -> None:
25132514 position: absolute; left: 0; top: 0; bottom: 0;
25142515 opacity: 0.15; border-radius: 3px;
25152516 }}
2517+ .hub-footer {{
2518+ margin-top: 64px;
2519+ border-top: 1px solid #30363d;
2520+ padding: 32px 24px;
2521+ text-align: center;
2522+ color: #8b949e;
2523+ font-size: 13px;
2524+ }}
2525+ .hub-footer-inner {{
2526+ max-width: 600px;
2527+ margin: 0 auto;
2528+ }}
2529+ .hub-footer-links {{
2530+ margin-bottom: 12px;
2531+ }}
2532+ .hub-footer-links a {{
2533+ color: #58a6ff;
2534+ text-decoration: none;
2535+ }}
2536+ .hub-footer-links a:hover {{
2537+ text-decoration: underline;
2538+ }}
2539+ .hub-footer-sep {{
2540+ margin: 0 8px;
2541+ color: #484f58;
2542+ }}
2543+ .hub-footer-copy {{
2544+ color: #6e7681;
2545+ }}
25162546 </style>
25172547 </head>
25182548 <body>
@@ -2585,6 +2615,18 @@ def create_hub_page(results: list[dict]) -> None:
25852615 }});
25862616 }})();
25872617 </script>
2618+ <footer class="hub-footer">
2619+ <div class="hub-footer-inner">
2620+ <div class="hub-footer-links">
2621+ <a href="https://github.com/posit-dev/gdg" target="_blank" rel="noopener">GDG on GitHub</a>
2622+ <span class="hub-footer-sep">·</span>
2623+ <a href="https://github.com/posit-dev/great-docs" target="_blank" rel="noopener">Great Docs on GitHub</a>
2624+ </div>
2625+ <div class="hub-footer-copy">
2626+ © { datetime .now ().year } Posit Software, PBC. All rights reserved.
2627+ </div>
2628+ </div>
2629+ </footer>
25882630 </body>
25892631 </html>
25902632 """ )
You can’t perform that action at this time.
0 commit comments