Links to author social media

This commit is contained in:
Martin Danielsson 2016-02-14 20:40:18 +01:00
parent d6cca9067a
commit 9c2564ed35
15 changed files with 101 additions and 14 deletions

40
_data/authors.yml Normal file
View file

@ -0,0 +1,40 @@
# Author details.
holger_reinhardt:
name: Holger Reinhardt
email: holger.reinhardt@haufe-lexware.com
twitter: hlgr360
github: hlgr360
linkedin: hrreinhardt
martin_danielsson:
name: Martin Danielsson
email: martin.danielsson@haufe-lexware.com
twitter: donmartin76
github: donmartin76
linkedin: martindanielsson
marco_seifried:
name: Marco Seifried
email: marco.seifried@haufe-lexware.com
twitter: marcoseifried
github: marc00s
linkedin: marcoseifried
thomas_schuering:
name: Thomas Schüring
email: thomas.schuering@haufe-lexware.com
github: thomsch98
linkedin: thomas-schuering-205a8780
rainer_zehnle:
name: Rainer Zehnle
email: rainer.zehnle@haufe-lexware.com
github: Kodrafo
linkedin: rainer-zehnle-09a537107
twitter: RainerZehnle
doru_mihai:
name: Doru Mihai
email: doru.mihai@haufe-lexware.com
github: Dutzu
linkedin: doru-mihai-32090112
twitter: dcmihai
eike_hirsch:
name: Eike Hirsch
email: eike.hirsch@haufe-lexware.com
twitter: stagzta

View file

@ -37,6 +37,21 @@ layout: default
{% assign tags_content = '' %} {% assign tags_content = '' %}
{% endif %} {% endif %}
<!-- author links -->
{% if page.author %}
{% assign author = site.data.authors[page.author] %}
{% if author %}
<!-- {% capture author_content_temp %}<a href="mailto:{{ author.email }}" target="_blank">{{ author.name }}</a>{% endcapture %} -->
<!-- This would be a great place to insert a link to all posts by an author. If I knew how. -->
{% capture author_content_temp %}{{ author.name }}{% endcapture %}
{% assign author_content = author_content_temp %}
{% else %}
{% assign author_content = page.author %}
{% endif %}
{% else %}
{% assign author_content = page.author %}
{% endif %}
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
@ -45,7 +60,29 @@ layout: default
{% if page.subtitle %} {% if page.subtitle %}
<h2 class="subheading">{{ page.subtitle }}</h2> <h2 class="subheading">{{ page.subtitle }}</h2>
{% endif %} {% endif %}
<span class="meta">Posted by {% if page.author %}{{ page.author }}{% else %}{{ site.title }}{% endif %} on {{ page.date | date: "%B %-d, %Y" }} {{ category_content }}{{ tags_content }}</span> <span class="meta">Posted by {{ author_content }} on {{ page.date | date: "%B %-d, %Y" }} {{ category_content }}{{ tags_content }}</span>
{% if author %}
<ul class="list-inline text-center">
{% if author.twitter %}
<li><a style="color:#ffffff" href="https://twitter.com/{{ author.twitter }}" target="_blank"><span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x"></i>
</span></a></li>
{% endif %}
{% if author.linkedin %}
<li><a style="color:#ffffff" href="https://www.linkedin.com/in/{{ author.linkedin }}" target="_blank"><span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-linkedin fa-stack-1x"></i>
</span></a></li>
{% endif %}
{% if author.github %}
<li><a style="color:#ffffff" href="https://github.com/{{ author.github }}" target="_blank"><span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x"></i>
</span></a></li>
{% endif %}
</ul>
{% endif %}
</div> </div>
</div> </div>
</div> </div>

View file

@ -4,7 +4,7 @@ title: We are live or How to start a developer blog
subtitle: The 'Hello World' Post subtitle: The 'Hello World' Post
category: general category: general
tags: [cto, culture] tags: [cto, culture]
author: Holger author: holger_reinhardt
author_email: holger.reinhardt@haufe-lexware.com author_email: holger.reinhardt@haufe-lexware.com
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -4,7 +4,7 @@ title: OSCON Europe 2015
subtitle: Notes from OSCON Europe 2015 subtitle: Notes from OSCON Europe 2015
category: conference category: conference
tags: [open-source] tags: [open-source]
author: Marco author: marco_seifried
author_email: marco.seifried@haufe-lexware.com author_email: marco.seifried@haufe-lexware.com
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -4,7 +4,7 @@ title: The beginnings of our API Journey
subtitle: Intro to our API Style Guide subtitle: Intro to our API Style Guide
category: api category: api
tags: [api] tags: [api]
author: Holger author: holger_reinhardt
author_email: holger.reinhardt@haufe-lexware.com author_email: holger.reinhardt@haufe-lexware.com
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -4,7 +4,7 @@ title: Impressions from DevOpsCon 2015
subtitle: Notes from DevOpsCon 2015 subtitle: Notes from DevOpsCon 2015
category: conference category: conference
tags: [docker, devops] tags: [docker, devops]
author: Rainer author: rainer_zehnle
author_email: rainer.zehnle@haufe-lexware.com author_email: rainer.zehnle@haufe-lexware.com
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -4,7 +4,7 @@ title: Impressions from DockerCon 2015 - Part 1
subtitle: Insights, Outlooks and Inbetweens subtitle: Insights, Outlooks and Inbetweens
category: conference category: conference
tags: [docker, security] tags: [docker, security]
author: ThomasSc author: thomas_schuering
author_email: thomas.schuering@haufe-lexware.com author_email: thomas.schuering@haufe-lexware.com
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -4,7 +4,7 @@ title: APIdays Paris - From Philosophy to Technology and back again
subtitle: A biased report from APIdays Global in Paris subtitle: A biased report from APIdays Global in Paris
category: conference category: conference
tags: [api] tags: [api]
author: Martin Danielsson author: martin_danielsson
author_email: martin.danielsson@haufe-lexware.com author_email: martin.danielsson@haufe-lexware.com
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -4,7 +4,7 @@ title: Using 'Let's Encrypt' Certificates with Azure
subtitle: Create free valid SSL certificates in 20 minutes. subtitle: Create free valid SSL certificates in 20 minutes.
category: howto category: howto
tags: [security, cloud] tags: [security, cloud]
author: Martin Danielsson author: martin_danielsson
author_email: martin.danielsson@haufe-lexware.com author_email: martin.danielsson@haufe-lexware.com
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -4,7 +4,7 @@ title: Creating the Smartsteuer 'Snap' App
subtitle: A behind the scenes view of the birth of our youngest creation. subtitle: A behind the scenes view of the birth of our youngest creation.
category: product category: product
tags: [smartsteuer, mobile, custdev] tags: [smartsteuer, mobile, custdev]
author: Eike Hirsch author: eike_hirsch
author_email: eike.hirsch@smartsteuer.de author_email: eike.hirsch@smartsteuer.de
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -4,7 +4,7 @@ title: Log Aggregation with Fluentd, Elasticsearch and Kibana
subtitle: Introduction to log aggregation using Fluentd, Elasticsearch and Kibana subtitle: Introduction to log aggregation using Fluentd, Elasticsearch and Kibana
category: howto category: howto
tags: [devops, docker, logging] tags: [devops, docker, logging]
author: Doru Mihai author: doru_mihai
author_email: doru.mihai@haufe-lexware.com author_email: doru.mihai@haufe-lexware.com
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -4,7 +4,7 @@ title: Better Log Parsing with Fluentd
subtitle: Description of a couple of approaches to designing your fluentd configuration. subtitle: Description of a couple of approaches to designing your fluentd configuration.
category: howto category: howto
tags: [devops, logging] tags: [devops, logging]
author: Doru Mihai author: doru_mihai
author_email: doru.mihai@haufe-lexware.com author_email: doru.mihai@haufe-lexware.com
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -4,7 +4,7 @@ title: Providing Secure File Storage through Azure API Management
subtitle: Shared Access Signatures with Azure Storage subtitle: Shared Access Signatures with Azure Storage
category: howto category: howto
tags: [security, cloud, api] tags: [security, cloud, api]
author: Martin Danielsson author: martin_danielsson
author_email: martin.danielsson@haufe-lexware.com author_email: martin.danielsson@haufe-lexware.com
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -4,7 +4,7 @@ title: Securing Backend Services behind Azure API Management
subtitle: Different approaches to securing API implementations subtitle: Different approaches to securing API implementations
category: howto category: howto
tags: [security, cloud, api] tags: [security, cloud, api]
author: Martin Danielsson author: martin_danielsson
author_email: martin.danielsson@haufe-lexware.com author_email: martin.danielsson@haufe-lexware.com
header-img: "images/bg-post.jpg" header-img: "images/bg-post.jpg"
--- ---

View file

@ -13,7 +13,17 @@ layout: page
</h3> </h3>
{% endif %} {% endif %}
</a> </a>
<p class="post-meta">Posted by {% if post.author %}{{ post.author }}{% else %}{{ site.title }}{% endif %} on {{ post.date | date: "%B %-d, %Y" }}</p> {% if post.author %}
{% assign author = site.data.authors[post.author] %}
{% if author %}
{% assign author_name = author.name %}
{% else %}
{% assign author_name = post.author %}
{% endif %}
{% else %}
{% assign author_name = site.title %}
{% endif %}
<p class="post-meta">Posted by {{ author_name }} on {{ post.date | date: "%B %-d, %Y" }}</p>
</div> </div>
<hr> <hr>
{% endfor %} {% endfor %}