From abc0de079b895af1b705894eb2b63596e3e37274 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <david@luevano.xyz> Date: Tue, 13 Dec 2022 20:44:08 -0600 Subject: add pyssg.xyz configs and templates --- pyssg.xyz/plt/body/footer.html | 33 +++++++++++++++++++++++++++++++++ pyssg.xyz/plt/body/header.html | 21 +++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 pyssg.xyz/plt/body/footer.html create mode 100644 pyssg.xyz/plt/body/header.html (limited to 'pyssg.xyz/plt/body') diff --git a/pyssg.xyz/plt/body/footer.html b/pyssg.xyz/plt/body/footer.html new file mode 100644 index 0000000..32dcaf0 --- /dev/null +++ b/pyssg.xyz/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/pyssg.xyz/plt/body/header.html b/pyssg.xyz/plt/body/header.html new file mode 100644 index 0000000..9b38511 --- /dev/null +++ b/pyssg.xyz/plt/body/header.html @@ -0,0 +1,21 @@ +{%macro print(config)%} +<nav> + <ul> + <li> + <a href="{{config['url']['main']}}"><i class="fas fa-home" alt="Home"></i><span>Home</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> + </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 -- cgit v1.2.3-70-g09d2