footer.html 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. <footer>
  2. <div class="container">
  3. {% set container_class = "col-md-12" %}
  4. {% from '_includes/_defaults.html' import SITESUBTITLE with context %}
  5. {% from '_includes/_defaults.html' import SITE_LICENSE with context %}
  6. {% if SITESUBTITLE and SITE_LICENSE %}
  7. {% set container_class = "col-md-4" %}
  8. {% elif SITESUBTITLE or SITE_LICENSE %}
  9. {% set container_class = "col-md-6" %}
  10. {% endif %}
  11. {% if SITESUBTITLE %}
  12. <div class={{ container_class }}>
  13. <span class="site-name">{{ SITENAME }}</span> - {{ SITESUBTITLE }}
  14. </div>
  15. {% endif %}
  16. {% if SITE_LICENSE %}
  17. <div class={{ container_class }}>
  18. {{ SITE_LICENSE }}
  19. </div>
  20. {% endif %}
  21. <div class={{ container_class }}>
  22. Powered by <a href="http://getpelican.com/" title="Pelican Home Page">Pelican</a>. Theme: <a href="http://oncrashreboot.com/pelican-elegant" title="Theme Elegant Home Page">Elegant</a> by <a href="http://oncrashreboot.com" title="Talha Mansoor Home Page">Talha Mansoor</a>
  23. </div>
  24. </div>
  25. </footer>