1
0
mirror of https://github.com/meineerde/holgerjust.de.git synced 2026-02-21 19:12:05 +00:00

Add profile links to impressum/contacts page

This commit is contained in:
Holger Just 2017-01-11 11:43:55 +01:00
parent a0a0cf8cae
commit ff358e6c92
2 changed files with 19 additions and 1 deletions

View File

@ -13,6 +13,14 @@ Personal contact is my preferred way of communication. If you see me, do not hes
<%= author_email %>
</address></p>
You can also find me on various social networks, including
<p><address class="profile-links-verbose" style="text-align: center">
<% Array(blog_author.profile_links).each do |name, opts| %>
<a class="icon-<%= name %>" href="<%= opts[:link] %>"><%= opts[:name] %></a>
<% end %>
</address></p>
If you want to send me physical mail, you can use this postal address:
<p><address>

View File

@ -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;
}