article.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {% extends "base.html" %}
  2. {% block title %}{{ SITENAME }} - {{ article.title }}{% endblock %}
  3. {% block content %}
  4. <meta property="og:image" content="https://blog.libreflix.org/{{ article.fbimage }}" />
  5. <meta property="og:type" content="blog" />
  6. <meta property="og:title" content="{{ article.description }}" />
  7. <meta property="og:url" content="" />
  8. <meta property="og:site_name" content="Blog Libreflix" />
  9. <!-- twitter metatags-->
  10. <meta name="twitter:card" content="summary_large_image">
  11. <meta name="twitter:title" content="{{ article.title }}">
  12. <meta name="twitter:description" content="{{ article.description }}">
  13. <meta name="twitter:image" content="https://blog.libreflix.org/{{ article.fbimage }}">
  14. <div class='article'>
  15. <div class="content-title">
  16. <h1>{{ article.title }}</h1>
  17. {% include "metadata.html" %}
  18. </div>
  19. <div>{{ article.content }}</div>
  20. <p align="right">
  21. <a href="{{ article.source_path | replace('/home/guilmour/gits/blog_libreflix/' , 'https://notabug.org/libreflix/blog_libreflix/src/master/')}}">&#x270E; Editar</a> |
  22. <a href="{{ article.source_path | replace('/home/guilmour/gits/blog_libreflix/' , 'https://notabug.org/libreflix/blog_libreflix/commits/master/')}}">&#x26C1; Versões</a>
  23. </p>
  24. <hr>
  25. {% include "twitter.html" %}
  26. {% if DISQUS_SITENAME %}
  27. <h2>Comentários</h2>
  28. {% include "disqus.html" %}
  29. {% endif %}
  30. </div>
  31. {% endblock %}