diff --git a/.gitignore b/.gitignore index fa79f58..db97973 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,7 @@ venv # NPM node_modules + +# Vim +*~ +*.swp diff --git a/templates/base.html b/templates/base.html index 105a236..8844f2b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -99,12 +99,14 @@ {% if not PAGES_SORT_ATTRIBUTE -%} {% set PAGES_SORT_ATTRIBUTE = 'title' %} {%- endif %} + {% if DISPLAY_PAGES_ON_MENU %} {% for page in pages|sort(attribute=PAGES_SORT_ATTRIBUTE) %}
  • {{ page.title }}
  • {% endfor %} + {% endif %} {% for name, link in LINKS %} -
  • {{ name }}
  • +
  • {{ name }}
  • {% endfor %} diff --git a/templates/publications.html b/templates/publications.html new file mode 100644 index 0000000..c3e4a59 --- /dev/null +++ b/templates/publications.html @@ -0,0 +1,53 @@ +{% extends "base.html" %} + +{% block title %} – Publications{% endblock %} + +{% block meta %} + {{ super() }} + +{% endblock %} + +{% block content %} + +
    +
    + {% import 'partial/translations.html' as translations with context %} + {{ translations.translations_for(publications) }} +

    Publications

    +
    +
    + {% block before_content %} +

    This is a complete list of publications I have authored or co-authored. + You can find my h-index and i10-index information at Google Scholar. +

    + {% endblock %} + {% for group in publications|groupby(1)|reverse %} +

    {{ group.grouper }}

    + + {% endfor %} + {% block after_content %}{% endblock %} +
    +
    + +{% endblock %}