Mayx's Home Page https://mabbs.github.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
3.3 KiB

  1. ---
  2. layout: default
  3. title: 首页 - 我的文章
  4. image: https://screenshot.mayx.eu.org/
  5. ---
  6. {% if paginator.page == 1 %}<div class="hslice" id="LatestPost">{% endif %}
  7. <h1 class="entry-title" style="display:inline"> 首页 - 我的文章 </h1><small><a href="/archives.html">Archives</a> | <a href="javascript:getSearchJSON(function(data){location=data[Math.floor(Math.random()*data.length)].url})">Random</a></small><br /><br />
  8. <hr />
  9. <!-- 遍历分页后的文章 -->
  10. <table class="entry-content h-feed">
  11. {% for post in paginator.posts %}
  12. <tr><td class="h-entry" onclick="location='{{ post.url }}'">
  13. <h2 class="p-name"><a class="post-link u-url" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2>
  14. <p>
  15. <time class="date dt-published" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%-d %B %Y" }}</time>
  16. | Hits: <span id="{{ post.url }}" class="visitors-index" >Loading...</span>
  17. </p>
  18. <div class="content p-summary">
  19. {{ post.excerpt | strip_html | strip_newlines }}
  20. </div>
  21. {% if post.tags %}
  22. <span>
  23. {% for tag in post.tags %}
  24. <a rel="category tag" class="p-category" href="/search.html?keyword={{ tag | url_encode | replace: '+', '%20' }}"><code style="white-space: nowrap">#{{ tag }}</code></a>
  25. {% endfor %}
  26. </span>
  27. {% endif %}
  28. </td></tr>
  29. {% endfor %}
  30. </table>
  31. {% if paginator.page == 1 %}</div>{% endif %}
  32. {% if paginator.total_pages > 1 %}
  33. <div class="pagination">
  34. {% if paginator.previous_page %}
  35. {% if paginator.previous_page == 1 %}
  36. <a href="/index.html">&laquo; Prev</a>
  37. {% else %}
  38. <a href="{{ paginator.previous_page_path }}/index.html">&laquo; Prev</a>
  39. {% endif %}
  40. {% else %}
  41. <span>&laquo; Prev</span>
  42. {% endif %}
  43. <select onchange="window.location = this.value == 1 ? '/index.html' : '/page' + this.value + '/index.html'">
  44. {% for page in (1..paginator.total_pages) %}
  45. {% if page == paginator.page %}
  46. <option value="{{ page }}" selected>{{ page }}</option>
  47. {% else %}
  48. <option value="{{ page }}">{{ page }}</option>
  49. {% endif %}
  50. {% endfor %}
  51. </select>
  52. {% if paginator.next_page %}
  53. <a href="{{ paginator.next_page_path }}/index.html">Next &raquo;</a>
  54. {% else %}
  55. <span>Next &raquo;</span>
  56. {% endif %}
  57. </div>
  58. {% endif %}
  59. <hr />
  60. <h2>其他页面</h2>
  61. <p>
  62. <a href="/service.html">Mayx的公开服务</a><br />
  63. 凯露&危险生存( <a href="{% unless site.github %}https://mabbs.github.io{% endunless %}/karyl-yabaival/?cn">CHS</a> | <a href="{% unless site.github %}https://mabbs.github.io{% endunless %}/karyl-yabaival/">JA</a> | <a href="{% unless site.github %}https://mabbs.github.io{% endunless %}/karyl-yabaival/?kr">KO</a><br />
  64. <a href="/message.html">留言板</a><br />
  65. <a href="/links.html">Links</a><br />
  66. <a href="/proxylist.html">代理列表</a><br />
  67. <!-- <a href="https://mabbs.github.io/MayxDaily/">Mayx日报</a><br> -->
  68. </p>
  69. <br />
  70. <small><a href="https://xn--sr8hvo.ws/previous"></a>
  71. An <a href="https://xn--sr8hvo.ws">IndieWeb Webring</a> 🕸💍
  72. <a href="https://xn--sr8hvo.ws/next"></a><br /><a href="https://icp.gov.moe/?keyword=20218888" target="_blank">萌ICP备 20218888号</a></small>
  73. <input name="live2dBGM" value="https://music.163.com/song/media/outer/url?id=523658881.mp3" type="hidden" />

Powered by TurnKey Linux.