Skip to content

Commit 544565a

Browse files
Bust share page asset cache
1 parent 1dd9a0b commit 544565a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
<link rel="canonical" href="https://link.pythonide.xin/">
2323
<!-- edge:meta-end -->
2424
<link rel="icon" href="/assets/brand-mark.svg" type="image/svg+xml">
25-
<link rel="stylesheet" href="/assets/share-page.css">
25+
<link rel="stylesheet" href="/assets/share-page.css?v=20260716-pill-buttons">
2626
<title>Python IDE 社区作品</title>
27-
<script defer src="/assets/share-page.js"></script>
27+
<script defer src="/assets/share-page.js?v=20260716-pill-buttons"></script>
2828
</head>
2929
<body class="is-loading">
3030
<a class="skip-link" href="#main-content" id="skipLink">跳到作品内容</a>

tests/share-page.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ test('mobile share layout keeps one compact content flow with the primary action
106106
assert.doesNotMatch(html, /class="header-link"/);
107107
assert.doesNotMatch(html, /class="embedded-guide/);
108108
assert.doesNotMatch(html, /class="work-header/);
109+
assert.match(html, /share-page\.css\?v=20260716-pill-buttons/);
110+
assert.match(html, /share-page\.js\?v=20260716-pill-buttons/);
109111
assert.match(css, /min-height:\s*100svh/);
110112
assert.match(css, /-webkit-line-clamp:\s*2/);
111113
assert.match(css, /\.site-footer\s*\{\s*display:\s*none;/);

0 commit comments

Comments
 (0)