diff --git a/README.md b/README.md index 0036d09..d69a9aa 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,9 @@ menu: weight: 0 params: - author: "" + author: "John Doe" + email: mail@example.org # used for microformats + avatar: "/images/me.png" # used for microformats description: "" images: - images/og-featured.png # relative path to "static" directory diff --git a/assets/css/main.css b/assets/css/main.css index 7d072fd..e6a91a7 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -462,6 +462,10 @@ ul.language-select > li, ul.footer-menu > li { margin-bottom: 1em; } +.h-card { + display: none; +} + /* Media Queries */ @media (max-width: 840px) { diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index eca1958..826dbe2 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -22,5 +22,6 @@ {{ partial "themeSwitcher.html" . }} + {{ partial "h-card.html" . }} {{ partial "footer-extra.html" . }} diff --git a/layouts/partials/h-card.html b/layouts/partials/h-card.html new file mode 100644 index 0000000..66cf479 --- /dev/null +++ b/layouts/partials/h-card.html @@ -0,0 +1,13 @@ +

+ + {{ .Site.Params.author }} + + {{ if .Site.Params.email }} + / + {{ .Site.Params.email }} + {{ end }} + + {{ if .Site.Params.avatar }} + + {{ end }} +

\ No newline at end of file