diff --git a/_data/members.yml b/_data/members.yml new file mode 100644 index 0000000..c6d562e --- /dev/null +++ b/_data/members.yml @@ -0,0 +1,6 @@ +# Information Safety members (for author attribution) +jabenninghoff: + name: John Benninghoff + email: + github: jabenninghoff + web: diff --git a/_layouts/post.html b/_layouts/post.html index ec63afc..7869f00 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,7 +4,12 @@

{{ page.title }}

- + {{ page.date | date_to_string }} + {% if page.author %} + {% assign author = site.data.members[page.author] %} + · @{{ author.github }} + {% endif %} + {{ content }}
diff --git a/_posts/2015-11-20-information-safety-launch.md b/_posts/2015-11-20-information-safety-launch.md index 60470f6..923cf59 100644 --- a/_posts/2015-11-20-information-safety-launch.md +++ b/_posts/2015-11-20-information-safety-launch.md @@ -1,6 +1,7 @@ --- layout: post title: Information Safety Launch +author: jabenninghoff comments: true --- diff --git a/_posts/2015-11-21-stamp-stpa-2016.md b/_posts/2015-11-21-stamp-stpa-2016.md index 3ff740e..4f13ce6 100644 --- a/_posts/2015-11-21-stamp-stpa-2016.md +++ b/_posts/2015-11-21-stamp-stpa-2016.md @@ -1,6 +1,7 @@ --- layout: post title: 2016 STAMP/STPA Call for Participation open +author: jabenninghoff comments: true --- diff --git a/_sass/_posts.scss b/_sass/_posts.scss index 6924570..d192368 100644 --- a/_sass/_posts.scss +++ b/_sass/_posts.scss @@ -20,13 +20,17 @@ } // Meta data line below post title -.post-date { +.post-date, +.post-author { display: block; margin-top: -.5rem; margin-bottom: 1rem; color: #9a9a9a; -} + a { + color: #9a9a9a; + } +} // Related posts .related { diff --git a/index.html b/index.html index da6e028..b2605fa 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,12 @@

- + {{ post.date | date_to_string }} + {% if post.author %} + {% assign author = site.data.members[post.author] %} + · @{{ author.github }} + {% endif %} + {{ post.content }}