mirror of
				https://github.com/ZetaKebab/quartz.git
				synced 2025-11-04 06:49:49 +00:00 
			
		
		
		
	add toLowerCase to id
This commit is contained in:
		@@ -145,7 +145,7 @@
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const redir = (id, term) => {
 | 
			
		||||
        window.location.href = "{{.Site.BaseURL}}" + `${id}#:~:text=${encodeURIComponent(term)}`
 | 
			
		||||
        window.location.href = "{{.Site.BaseURL}}" + `${id.toLowerCase()}#:~:text=${encodeURIComponent(term)}`
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const fetch = id => ({
 | 
			
		||||
@@ -252,4 +252,4 @@
 | 
			
		||||
        })
 | 
			
		||||
    })
 | 
			
		||||
 | 
			
		||||
</script>
 | 
			
		||||
</script>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user