diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-12-13 20:44:08 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-12-13 20:44:08 -0600 |
commit | abc0de079b895af1b705894eb2b63596e3e37274 (patch) | |
tree | c51d24dce55da8d9b227cbac6c2ef64a59d8e9dc /pyssg.xyz/plt/body | |
parent | db4b3736d4f45137a733ce5eb1e50aec968ca1d2 (diff) |
add pyssg.xyz configs and templates
Diffstat (limited to 'pyssg.xyz/plt/body')
-rw-r--r-- | pyssg.xyz/plt/body/footer.html | 33 | ||||
-rw-r--r-- | pyssg.xyz/plt/body/header.html | 21 |
2 files changed, 54 insertions, 0 deletions
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 |