Add Footer

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2021-12-25 08:35:40 +01:00
parent fb5fb6b2f8
commit 98ffa9270f
6 changed files with 32 additions and 3 deletions
+4 -2
View File
@@ -73,8 +73,10 @@ xaymar:
css: '/assets/site.css' css: '/assets/site.css'
js: '/assets/site.js' js: '/assets/site.js'
rss: '/feed.xml' rss: '/feed.xml'
home: info:
name: 'Home' home: 'Home'
footer:
copyright: "2021 © Michael Fabian 'Xaymar' Dirks"
index: index:
readmore: 'Read More' readmore: 'Read More'
excerpt: excerpt:
+1 -1
View File
@@ -1,7 +1,7 @@
<div class="breadcrumbs"> <div class="breadcrumbs">
<span class="crumb"> <span class="crumb">
<a href="{{ site.url | absolute_url }}"> <a href="{{ site.url | absolute_url }}">
{{ site.xaymar.home.name }} {{ site.xaymar.info.home }}
</a> </a>
</span> </span>
{% if include.permalink != "/" and include.permalink != "/index.html" %} {% if include.permalink != "/" and include.permalink != "/index.html" %}
+5
View File
@@ -0,0 +1,5 @@
<footer id="footer" class="footer">
<div class="content">
<span>{{ site.xaymar.info.footer.copyright }}</span>
</div>
</footer>
+1
View File
@@ -1,4 +1,5 @@
</div> </div>
{% include footer.liquid %}
</body> </body>
<script src="{{ site.xaymar.data.js | absolute_url }}?timestamp={{ site.time | date_to_xmlschema }}"></script> <script src="{{ site.xaymar.data.js | absolute_url }}?timestamp={{ site.time | date_to_xmlschema }}"></script>
</html> </html>
+3
View File
@@ -29,6 +29,8 @@ $theme-breadcrumbs-background: hsl($theme-hue, 33%, 15%);
$theme-breadcrumbs-color: hsl($theme-hue, 100%, 100%); $theme-breadcrumbs-color: hsl($theme-hue, 100%, 100%);
$theme-breadcrumbs-link-color: hsl($theme-hue, 100%, 75%); $theme-breadcrumbs-link-color: hsl($theme-hue, 100%, 75%);
$theme-breadcrumbs-link-color-active: hsl($theme-hue, 100%, 85%); $theme-breadcrumbs-link-color-active: hsl($theme-hue, 100%, 85%);
$theme-footer-background: hsl($theme-hue, 33%, 10.0%);
$theme-footer-color: hsl($theme-hue, 0%, 80%);
* { * {
box-sizing: border-box; box-sizing: border-box;
@@ -61,3 +63,4 @@ a.active {
@import "_header.scss"; @import "_header.scss";
@import "_content.scss"; @import "_content.scss";
@import "_footer.scss";
+18
View File
@@ -0,0 +1,18 @@
#footer {
margin: 0;
margin-top: 2rem;
padding: 0;
background: $theme-footer-background;
color: $theme-footer-color;
}
#footer > .content {
max-width: $theme-width;
min-height: 4rem;
margin: 0;
margin-left: auto;
margin-right: auto;
padding: .5rem 0rem;
font-size: 0.8rem;
text-align: center;
}