moved footer content to header

This commit is contained in:
Lynne Megido 2020-03-12 19:28:12 +10:00
parent af84da9604
commit 5bde8f7821
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90
4 changed files with 18 additions and 8 deletions

View File

@ -1,3 +0,0 @@
<footer>
<a href='https://bune.city'>Blog</a><a href='https://github.com/lynnesbian'>GitHub</a><a href='https://git.bune.city/lynnesbian'>Gitea</a>
</footer>

View File

@ -1,5 +1,12 @@
<header>
{%- if page.title != "Welcome!" -%}<a href='/'>Home</a>{% endif -%}
{%- if page.title != "Contact" -%}<a href='/contact.html'>Contact</a>{% endif -%}
{%- if page.title != "Projects" -%}<a href='/projects.html'>Projects</a>{% endif -%}
<span class='internal'>
{%- if page.title != "Welcome!" -%}<a href='/'>Home</a>{% endif -%}
{%- if page.title != "Contact" -%}<a href='/contact.html'>Contact</a>{% endif -%}
{%- if page.title != "Projects" -%}<a href='/projects.html'>Projects</a>{% endif -%}
{%- if page.title != "Donate" -%}<a href='/donate.html'>Donate</a>{% endif -%}
</span>
<span class='external'>
<a href='https://bune.city'>Blog</a><a href='https://github.com/lynnesbian'>GitHub</a><a href='https://git.bune.city/lynnesbian'>Gitea</a>
</span>
</header>

View File

@ -13,8 +13,6 @@
<div id='main'>
{{ content }}
</div>
{% include footer.html %}
</body>
</html>

View File

@ -106,6 +106,11 @@ a {
header {
background: mediumpurple;
padding: 0 30px;
display: flex;
justify-content: space-between;
}
header span {
display: inline-block;
}
header a {
color: white;
@ -134,6 +139,9 @@ footer a:not(:last-child)::after, .subheading-links a:not(:last-child)::after {
p, footer, ul {
line-height: 1.6em;
}
header {
padding: 0;
}
h1 {
margin-top: 0;
}