read.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {% extends 'themes/wayback/base.html' %}
  2. {% block head %}
  3. <link rel="alternate" href="https://www.bilibili.com/read/{{ cid }}">
  4. <meta name="referrer" content="never">
  5. <title>{{ arinfo['title'] }} - 专栏 - MikuInvidious</title>
  6. <style>
  7. @media only screen and (min-width: 600px) {
  8. figure > img {
  9. max-width: 55% !important;
  10. }
  11. }
  12. figure > img {
  13. max-width: 100%;
  14. display: block;
  15. margin-left: auto;
  16. margin-right: auto;
  17. width: auto;
  18. height: auto;
  19. }
  20. </style>
  21. {% endblock %}
  22. {% block content %}
  23. <div class="h-box">
  24. <h1>
  25. {{ arinfo['title'] }}
  26. </h1>
  27. </div>
  28. <div class="h-box">
  29. <a href="/space/{{ arinfo['author']['mid'] }}" style="display:block;width:fit-content;width:-moz-fit-content">
  30. <div class="channel-profile">
  31. <img src="{{ arinfo['author']['face']|pic }}" alt="" />
  32. <span id="channel-name">{{ arinfo['author']['name'] }}</span>
  33. </div>
  34. </a>
  35. <p id="published-date">
  36. 投稿于 {{ arinfo['publish_time']|date }}
  37. </p>
  38. <i class="icon ion-ios-eye"></i> {{ arinfo['stats']['view']|intsep }}
  39. <i class="icon ion-ios-thumbs-up"></i> {{ arinfo['stats']['like']|intsep }}
  40. <i class="icon ion-logo-bitcoin"></i> {{ arinfo['stats']['coin']|intsep }}
  41. <i class="icon ion-ios-bookmark"></i> {{ arinfo['stats']['favorite']|intsep }}
  42. <i class="icon ion-md-share"></i> {{ arinfo['stats']['share']|intsep }}
  43. </div>
  44. <hr>
  45. <div class="typo">
  46. {{ article_content|safe }}
  47. </div>
  48. {% endblock %}