aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-24 18:33:48 +0300
committerValentin Popov <info@valentineus.link>2018-04-24 18:33:48 +0300
commite0bfa7a3b09fdcc80f92c5c61b92d7ff0e33945c (patch)
tree33c5ebe29f627d61c92e346ea8ec1a9fd75f6dad
parentffa2460dded6e6837a12e6ec617a55b54e94d5d3 (diff)
downloadpopov.link-e0bfa7a3b09fdcc80f92c5c61b92d7ff0e33945c.tar.xz
popov.link-e0bfa7a3b09fdcc80f92c5c61b92d7ff0e33945c.zip
Footer
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--_includes/footer.html12
-rw-r--r--_scss/components/elements/_footer.scss13
2 files changed, 22 insertions, 3 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
index eee139d..52da9d2 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,3 +1,9 @@
-<section class="container">
- &copy; {{ site.time | date: "%Y" }}. All rights reserved.
-</section>
+<footer class="footer">
+ <small>
+ <a href="mailto:{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | uri_escape }}">Contact</a>
+ <span>|</span>
+ <a href="{{ site.rss | relative_url | uri_escape }}">Subscription</a>
+ <span>|</span>
+ <a href="{{ '/sitemap.xml' | relative_url | uri_escape }}">Site Map</a>
+ </small>
+</footer>
diff --git a/_scss/components/elements/_footer.scss b/_scss/components/elements/_footer.scss
index b7c9cea..46048a0 100644
--- a/_scss/components/elements/_footer.scss
+++ b/_scss/components/elements/_footer.scss
@@ -1,3 +1,16 @@
.footer {
+ padding-top: 1rem;
text-align: center;
+
+ a {
+ padding: 0 .5rem;
+
+ &:first-child {
+ padding-left: 0;
+ }
+
+ &:last-child {
+ padding-right: 0;
+ }
+ }
}