mirror of
https://github.com/PR0M3TH3AN/Archivox.git
synced 2025-09-07 14:48:40 +00:00
Render footer links
This commit is contained in:
@@ -94,6 +94,14 @@ main {
|
||||
padding: 1rem;
|
||||
background: var(--sidebar-bg);
|
||||
}
|
||||
.footer-links {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
.footer-links a {
|
||||
margin: 0 0.5rem;
|
||||
text-decoration: none;
|
||||
color: var(--text-color);
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
|
@@ -4,3 +4,10 @@ site:
|
||||
|
||||
navigation:
|
||||
search: true
|
||||
|
||||
footer:
|
||||
links:
|
||||
- text: "GitHub"
|
||||
url: "https://github.com/yourusername/DocForge"
|
||||
- text: "License"
|
||||
url: "/license.html"
|
||||
|
@@ -1,3 +1,10 @@
|
||||
<footer class="footer">
|
||||
{% if config.footer.links %}
|
||||
<nav class="footer-links">
|
||||
{% for link in config.footer.links %}
|
||||
<a href="{{ link.url }}">{{ link.text }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endif %}
|
||||
<p>© {{ config.site.title }}</p>
|
||||
</footer>
|
||||
|
Reference in New Issue
Block a user