Added support for linking authors in blog posts

Co-authored-by: alexvoss <4134224+alexvoss@users.noreply.github.com>
This commit is contained in:
squidfunk
2023-11-26 14:29:38 +01:00
parent 9c01605149
commit 28ebcbfb59
6 changed files with 23 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
# IN THE SOFTWARE.
from mkdocs.config.base import Config
from mkdocs.config.config_options import DictOfItems, SubConfig, Type
from mkdocs.config.config_options import DictOfItems, Optional, SubConfig, Type
# -----------------------------------------------------------------------------
# Classes
@@ -30,6 +30,7 @@ class Author(Config):
name = Type(str)
description = Type(str)
avatar = Type(str)
url = Optional(Type(str))
# -----------------------------------------------------------------------------