diff --git a/docs/blog/.authors.yml b/docs/blog/.authors.yml index e5fbca3e77e..ebf147f46a3 100644 --- a/docs/blog/.authors.yml +++ b/docs/blog/.authors.yml @@ -3,3 +3,4 @@ authors: name: Martin Donath description: Creator avatar: https://avatars.githubusercontent.com/u/932156 + url: https://github.com/squidfunk diff --git a/docs/plugins/blog.md b/docs/plugins/blog.md index 6eac717d7b5..28d777d0d70 100644 --- a/docs/plugins/blog.md +++ b/docs/plugins/blog.md @@ -1112,6 +1112,7 @@ The provided path is resolved from the [`docs` directory][mkdocs.docs_dir]. name: string # Author name description: string # Author description avatar: url # Author avatar + url: url # Author website link ``` Note that `` must be set to an identifier for associating authors diff --git a/src/blog-post.html b/src/blog-post.html index 2ef051b192a..89905b367c5 100644 --- a/src/blog-post.html +++ b/src/blog-post.html @@ -59,7 +59,11 @@ {{ author.name }} - {{ author.name }}
+ + {% if author.url %}{% endif %} + {{ author.name }} + {% if author.url %}{% endif %} +
{{ author.description }}