mirror of
				https://github.com/fooflington/selfdefined.git
				synced 2025-10-31 22:28:32 +00:00 
			
		
		
		
	feat(permalink): revert cherry-picked changes to structure
This commit is contained in:
		| @@ -3,5 +3,5 @@ import test from 'ava'; | |||||||
| import definitionPermalink from '../definitionPermalink'; | import definitionPermalink from '../definitionPermalink'; | ||||||
|  |  | ||||||
| test('constructs correct detail link', (t) => { | test('constructs correct detail link', (t) => { | ||||||
|   t.is(definitionPermalink('test-slug'), '/definitions/test-slug/'); |   t.is(definitionPermalink('test-slug'), '/#test-slug'); | ||||||
| }); | }); | ||||||
|   | |||||||
| @@ -1,3 +1,3 @@ | |||||||
| module.exports = function(slug) { | module.exports = function(slug) { | ||||||
|   return `/definitions/${slug}/`; |   return `/#${slug}`; | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Oscar
					Oscar