diff --git a/website_assets/pelicanconf.py b/website_assets/pelicanconf.py index 01ef7ec3b8af4315be68413edce6e20db2adb9e3..d4ca8c316c9745f43e5b956f47ebeab9cb06b5db 100644 --- a/website_assets/pelicanconf.py +++ b/website_assets/pelicanconf.py @@ -23,6 +23,13 @@ LINKS = (('This course on edX', 'http://tiny.cc/topocm'), ('Course chat', 'https://meso.tnw.tudelft.nl/topocondmat'), ('Source code', 'https://github.com/topocm/topocm_content'),) +ANNOUNCEMENTS = ( + ('' + 'We have a PhD position open'), +) + + + DEFAULT_PAGINATION = 10 diff --git a/website_assets/themes/pelican-bootstrap3/templates/includes/announcements.html b/website_assets/themes/pelican-bootstrap3/templates/includes/announcements.html new file mode 100644 index 0000000000000000000000000000000000000000..93c7c7f037562bf0e378ff9ceed3941395936d4e --- /dev/null +++ b/website_assets/themes/pelican-bootstrap3/templates/includes/announcements.html @@ -0,0 +1,11 @@ +{% if ANNOUNCEMENTS %} +
  • Announcements

    + +
  • +{% endif %} diff --git a/website_assets/themes/pelican-bootstrap3/templates/includes/sidebar.html b/website_assets/themes/pelican-bootstrap3/templates/includes/sidebar.html index c59b8f0e41876b0571e65cdd6104655dcdfcd62d..99530524034e193a25582eb61c1e341cbd4ff1e1 100755 --- a/website_assets/themes/pelican-bootstrap3/templates/includes/sidebar.html +++ b/website_assets/themes/pelican-bootstrap3/templates/includes/sidebar.html @@ -100,6 +100,7 @@ {% include 'includes/github.html' %} {% include 'includes/twitter_timeline.html' %} {% include 'includes/links.html' %} + {% include 'includes/announcements.html' %} {% include 'includes/sidebar-images.html' %}