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.

80 lines
2.6 KiB

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

Powered by TurnKey Linux.