This commit is contained in:
decanus 2020-02-17 20:35:04 -05:00
parent 048bb45407
commit 0d3d941dbd
No known key found for this signature in database
GPG Key ID: E95B8C69228FF5B4
6 changed files with 51 additions and 2 deletions

7
_authors/dean.md Normal file
View File

@ -0,0 +1,7 @@
---
short_name: dean
name: Dean Eigenmann
position: Protocol Researcher
twitter: DeanEigenmann
website: https://dean.eigenmann.me
---

6
_authors/oskarth.md Normal file
View File

@ -0,0 +1,6 @@
---
short_name: oskarth
name: Oskar Thoren
position: Protocol Researcher
twitter: oskarth
---

View File

@ -18,8 +18,18 @@ sass:
sass_dir: _sass
style: compressed
collections:
authors:
output: true
defaults:
- scope:
path: "assets/img"
values:
image: true
- scope:
path: ""
type: "authors"
values:
layout: "author"

26
_layouts/author.html Normal file
View File

@ -0,0 +1,26 @@
---
layout: default
---
<h1></h1>
<div class="container post-content">
<div class="row">
<div class="col-lg-10 ml-auto mr-auto">
<h1>{{ page.name }}</h1>
<div class="meta">
<a href="https://twitter.com/{{ page.twitter }}">Twitter</a>
{% if page.website %}
<a href="{{ page.website }}">Website</a>
{% endif %}
</div>
<div class="row">
{% assign filtered_posts = site.posts | where: 'author', page.short_name %}
{% for post in filtered_posts %}
<div class="col-md-12 mt-60">
<time>{{ post.date | date: '%B %d, %Y' }}</time>
<h3><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h3>
</div>
{% endfor %}
</div>
</div>
</div>
</div>

View File

@ -6,7 +6,7 @@ layout: default
<div class="row">
<div class="col-lg-10 ml-auto mr-auto">
<h1>{{page.title}}</h1>
<div class="meta">{{ page.date | date_to_string }} • <a href="https://twitter.com/{{ page.author }}">{{ page.author }}</a></div>
<div class="meta">{{ page.date | date_to_string }} • <a href="/authors/{{ page.author }}">{{ page.author }}</a></div>
<div class="editor-content">
{{ content }}

View File

@ -3,7 +3,7 @@ layout: post
name: "DNS Based Discovery"
title: "DNS Based Discovery"
date: 2020-02-7 12:00:00 +0100
author: DeanEigenmann
author: dean
published: true
permalink: /dns-based-discovery
categories: research