mirror of
https://github.com/PR0M3TH3AN/Archivox.git
synced 2025-09-07 14:48:40 +00:00
Merge pull request #28 from PR0M3TH3AN/codex/update-footer-template-to-display-links
Display footer links
This commit is contained in:
@@ -94,6 +94,14 @@ main {
|
|||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
background: var(--sidebar-bg);
|
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) {
|
@media (max-width: 768px) {
|
||||||
.sidebar {
|
.sidebar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@@ -4,3 +4,10 @@ site:
|
|||||||
|
|
||||||
navigation:
|
navigation:
|
||||||
search: true
|
search: true
|
||||||
|
|
||||||
|
footer:
|
||||||
|
links:
|
||||||
|
- text: "GitHub"
|
||||||
|
url: "https://github.com/yourusername/DocForge"
|
||||||
|
- text: "License"
|
||||||
|
url: "/license.html"
|
||||||
|
@@ -1,3 +1,10 @@
|
|||||||
<footer class="footer">
|
<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>
|
<p>© {{ config.site.title }}</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
Reference in New Issue
Block a user