Skip to content

Commit

Permalink
fix: tags and category
Browse files Browse the repository at this point in the history
  • Loading branch information
lopins committed Oct 31, 2024
1 parent 49d3085 commit a9fa209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/assets/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ $(function() {

// 所有链接都跳转到kefu页面
document.addEventListener('DOMContentLoaded', function() {
const excludePrefixes = [
const excludePrefixes = [
'javascript:', 'mailto:', '#', 'tel:', 'sms:', 'callto:', 'data:', 'intent:', 'geo:',
'.', '/index.html', '/product.html', '/case.html', '/kefu.html', '/news.html', '/esg.html', '/about.html', '/contact.html', '/tags.html', '/categories.html', '/posts/', '/help/', '/page/', '/tags/', '/tag/', '/categorys/', '/category/', '/archives/', '/article/',
'https://www.wooooden.com', 'https://www.issem.cn', 'https://beian.miit.gov.cn', 'https://www.dosprings.com', 'https://www.lopins.cn'
'https://www.wooooden.com', 'https://www.issem.cn', 'https://beian.miit.gov.cn', 'https://www.dosprings.com', 'https://www.lopins.cn','https://lopins.github.io','https://lopinv.github.io',,'http://127.0.0.1'
];
const links = document.querySelectorAll('a');
links.forEach(link => {
Expand Down

0 comments on commit a9fa209

Please sign in to comment.