diff options
| author | mayx <mayx@outlook.com> | 2026-05-31 16:00:35 +0000 |
|---|---|---|
| committer | mayx <mayx@outlook.com> | 2026-05-31 16:00:35 +0000 |
| commit | 71d493c2a8126c04267526081663272d623598d3 (patch) | |
| tree | a408250703a5410e19b9986ffb5c6fc722fbb0b2 /index.html | |
| parent | 156f964333ea9ca4d00d98f3c831ef05fe0b8d46 (diff) | |
Update 4 files
- /_data/other_repo_list.csv
- /_posts/2026-06-01-dedupe.md
- /assets/js/pjax.js
- /index.html
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -12,7 +12,7 @@ image: https://screenshot.mayx.eu.org/ <!-- 遍历分页后的文章 --> <table class="entry-content h-feed"> {% for post in paginator.posts %} - <tr><td class="h-entry" onclick="if (!event.target.closest('a.p-category')) go('{{ post.url }}')"> + <tr><td class="h-entry" data-url="{{ post.url }}"> <h2 class="p-name"><a class="post-link u-url" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2> <p> <time class="date dt-published" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%-d %B %Y" }}</time> @@ -77,4 +77,11 @@ image: https://screenshot.mayx.eu.org/ <small><a href="https://xn--sr8hvo.ws/previous">←</a> An <a href="https://xn--sr8hvo.ws">IndieWeb Webring</a> 🕸💍 <a href="https://xn--sr8hvo.ws/next">→</a><br /><a href="https://icp.gov.moe/?keyword=20218888" target="_blank">萌ICP备 20218888号</a></small> -<input name="live2dBGM" value="https://music.163.com/song/media/outer/url?id=523658881.mp3" type="hidden" />
\ No newline at end of file +<input name="live2dBGM" value="https://music.163.com/song/media/outer/url?id=523658881.mp3" type="hidden" /> +<script> +$(document).on('click', '.h-entry', function(e) { + if ($(e.target).closest('.p-category').length === 0) { + go($(this).attr('data-url')); + } +}); +</script>
\ No newline at end of file |
