From ff358e6c92bd026ee307d565c54b46bae26bf4ca Mon Sep 17 00:00:00 2001
From: Holger Just
Date: Wed, 11 Jan 2017 11:43:55 +0100
Subject: [PATCH] Add profile links to impressum/contacts page
---
source/impressum.md.erb | 8 ++++++++
source/stylesheets/application.css.scss | 12 +++++++++++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/source/impressum.md.erb b/source/impressum.md.erb
index ea57062..60cf567 100644
--- a/source/impressum.md.erb
+++ b/source/impressum.md.erb
@@ -13,6 +13,14 @@ Personal contact is my preferred way of communication. If you see me, do not hes
<%= author_email %>
+You can also find me on various social networks, including
+
+
+ <% Array(blog_author.profile_links).each do |name, opts| %>
+ <%= opts[:name] %>
+ <% end %>
+
+
If you want to send me physical mail, you can use this postal address:
diff --git a/source/stylesheets/application.css.scss b/source/stylesheets/application.css.scss
index 6c1d27d..6b69f36 100644
--- a/source/stylesheets/application.css.scss
+++ b/source/stylesheets/application.css.scss
@@ -34,7 +34,7 @@
> span {
display: block;
- margin: 2em 0 1rem 0
+ margin: 2em 0 1rem 0;
}
}
@@ -43,6 +43,16 @@
text-decoration: none;
}
+.profile-links-verbose {
+ a {
+ margin: 0 .5em;
+ }
+
+ a[class^="icon-"]:before, a[class*=" icon-"]:before {
+ margin-right: .25em;
+ }
+}
+
.author-meta span.hidden {
display: none;
}