iframeable display of all posts by a matodon @user@instance account that contain a #hashtag
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <html lang="{{lang}}"{% if is_rtl %} dir="rtl"{% endif %}>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>{{title|safe}}</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
  8. <link rel="stylesheet" href="{{ url_for('static', filename='css') }}/bootstrap{% if is_rtl %}-rtl{% endif %}.min.css">
  9. <meta property="og:image" itemprop="image" content="{{og_image|default(url_for('static', filename='hashtag.png', _external=True))}}" />
  10. <meta property="og:type" content="website" />
  11. <meta property="og:updated_time" content="{{updated_time}}" />
  12. </head>
  13. <body>
  14. <div class="container">
  15. <div class="row" id="entries">
  16. {% for entry in feed.entries %}
  17. <div class="col-12 col-sm-6 col-md-4 g-1">
  18. <div class="card h-100">
  19. <div class="card-body">
  20. <div class="float-end ms-1"><span class="badge bg-info"><a target="_blank" class="link-light text-decoration-underline" href="{{entry.link}}">{{ entry.date }}</a></span></div>
  21. {{ entry.description|safe }}
  22. </div>
  23. {% if entry.images %}
  24. <ul class="list-group h-100">
  25. {% for image in entry.images %}
  26. <li class="list-group-item"><a target="_blank" href="{{image.url}}"><img class="w-100" src="{{image.url}}" alt="{{image.media_description}}" /></a></li>
  27. {% endfor %}
  28. </ul>
  29. {% endif %}
  30. {% if entry.videos %}
  31. <ul class="list-group h-100">
  32. {% for video in entry.videos %}
  33. <li class="list-group-item"><video controls loop class="w-100" src="{{video.url}}" /></li>
  34. {% endfor %}
  35. </ul>
  36. {% endif %}
  37. </div>
  38. </div>
  39. {% endfor %}
  40. </div>
  41. </div>
  42. </body>
  43. </html>