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.

77 lines
3.2 KiB

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

Powered by TurnKey Linux.