summaryrefslogtreecommitdiff
path: root/plt/body
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-12-16 17:45:03 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-12-16 17:45:03 -0600
commit7e49db5ddefe8c515b5f3931a5c701efaac33d91 (patch)
treed7d1efda44837a466fe079266efda90021812399 /plt/body
parent3112a76dac594fe715b59e53c399b0dec5b53193 (diff)
change structure for new pyssg version
Diffstat (limited to 'plt/body')
-rw-r--r--plt/body/footer.html33
-rw-r--r--plt/body/header.html35
2 files changed, 68 insertions, 0 deletions
diff --git a/plt/body/footer.html b/plt/body/footer.html
new file mode 100644
index 0000000..32dcaf0
--- /dev/null
+++ b/plt/body/footer.html
@@ -0,0 +1,33 @@
+{%macro contact(config)%}
+<span>
+ <i class="fas fa-address-card" alt="Contact"></i>
+ <a href="{{config['url']['main']}}/contact.html">Contact</a>
+</span>
+{%endmacro%}
+
+{%macro donate(config)%}
+<span>
+ <i class="fas fa-donate" alt="Donate"></i>
+ <a href="{{config['url']['main']}}/donate.html">Donate</a>
+</span>
+{%endmacro%}
+
+{%macro rss(config)%}
+<span>
+ <i class="fas fa-rss" alt="RSS"></i>
+ <a target="_blank" href="{{config['url']['main']}}/rss.xml">RSS</a>
+</span>
+{%endmacro%}
+
+{%macro created_with()%}
+<span class="created-with">
+ <i class="fas fa-hammer" alt="Hammer"></i>
+ Created with <a href="https://github.com/luevano/pyssg">pyssg</a>
+</span>
+{%endmacro%}
+
+{%macro copyright()%}
+<span class="copyright">
+ Copyright <i class="far fa-copyright" alt="Copyright"></i> 2023 David Luévano Alvarado
+</span>
+{%endmacro%} \ No newline at end of file
diff --git a/plt/body/header.html b/plt/body/header.html
new file mode 100644
index 0000000..5ea4022
--- /dev/null
+++ b/plt/body/header.html
@@ -0,0 +1,35 @@
+{%macro print(config)%}
+<nav>
+ <ul>
+ <li>
+ <a href="https://luevano.xyz/"><i class="fas fa-home" alt="Home"></i><span>Home</span></a>
+ </li>
+
+ <li>
+ <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a>
+ </li>
+
+ <li>
+ <a href="https://art.luevano.xyz/"><i class="fas fa-paint-brush" alt="Art"></i><span>Art</span></a>
+ </li>
+
+ <li><i class="fab fa-git" alt="Git"></i><span>Git</span>
+ <ul>
+ <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li>
+
+ <li><a href="https://github.com/luevano" target="_blank"><i class="fab fa-github" alt="Github"></i></a></li>
+
+ <li><a href="https://gitlab.com/dluevano" target="_blank"><i class="fab fa-gitlab" alt="Gitlab"></i></a></li>
+ </ul>
+ </li>
+
+ <li><i class="fas fa-box-open" alt="Stuff"></i><span>Stuff</span>
+ <ul>
+ <li><a href="https://gb.luevano.xyz/"><i class="fas fa-gamepad" alt="Gameboy"></i><span>Gameboy</span></a></li>
+ </ul>
+ </li>
+ </ul>
+</nav>
+
+<button class="theme-switcher" onclick="toggleTheme()"><i class="fas fa-moon"></i><i class="fas fa-sun"></i></button>
+{%endmacro%} \ No newline at end of file