author name without href, add update date

This commit is contained in:
makayabou 2020-09-06 23:02:49 +02:00
parent aaebc5f872
commit d1e9512b79
4 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
geany/ geany/
mkdocs-material/

View File

@ -11,6 +11,7 @@ plugins:
- search: - search:
min_search_length: 2 min_search_length: 2
- git-authors - git-authors
- git-revision-date
markdown_extensions: markdown_extensions:
- admonition - admonition
- pymdownx.details - pymdownx.details

View File

@ -2,9 +2,10 @@
{% block disqus %} {% block disqus %}
<div class="md-source-date"> <div class="md-source-date">
<small> <small> Authors: </small>
Authors: {{ git_page_authors }} {%- for author in git_info.get('page_authors') -%}
</small> <small>{{ author.name }} , </small>
{%- endfor -%}
</div> </div>
{% include "partials/integrations/disqus.html" %} {% include "partials/integrations/disqus.html" %}
{% endblock %} {% endblock %}

View File

@ -7,3 +7,4 @@ mkdocs-material>=5.4.0
Pygments Pygments
git+https://github.com/pugong/mkdocs-mermaid-plugin git+https://github.com/pugong/mkdocs-mermaid-plugin
mkdocs-git-authors-plugin mkdocs-git-authors-plugin
mkdocs-git-revision-date-plugin