diff options
Diffstat (limited to 'src/url-spec.js')
-rw-r--r-- | src/url-spec.js | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/src/url-spec.js b/src/url-spec.js index ce47926..ea5337a 100644 --- a/src/url-spec.js +++ b/src/url-spec.js @@ -1,4 +1,4 @@ -import {withEntries} from './util/sugar.js'; +import {withEntries} from '#sugar'; const urlSpec = { data: { @@ -21,11 +21,13 @@ const urlSpec = { paths: { root: '', path: '<>', + page: '<>/', home: '', album: 'album/<>/', albumCommentary: 'commentary/album/<>/', + albumGallery: 'album/<>/gallery/', artist: 'artist/<>/', artistGallery: 'artist/<>/gallery/', @@ -33,19 +35,26 @@ const urlSpec = { commentaryIndex: 'commentary/', flashIndex: 'flash/', + flash: 'flash/<>/', + flashActGallery: 'flash-act/<>/', + groupInfo: 'group/<>/', groupGallery: 'group/<>/gallery/', listingIndex: 'list/', + listing: 'list/<>/', newsIndex: 'news/', + newsEntry: 'news/<>/', staticPage: '<>/', + tag: 'tag/<>/', + track: 'track/<>/', }, }, @@ -59,7 +68,9 @@ const urlSpec = { staticRoot: 'static', utilityFile: 'util/<>', - staticFile: 'static/<>', + staticFile: 'static/<>?<>', + + staticIcon: 'static/icons.svg#icon-<>', }, }, @@ -70,13 +81,25 @@ const urlSpec = { root: '', path: '<>', + albumAdditionalFile: 'album-additional/<>/<>', + albumBanner: 'album-art/<>/banner.<>', albumCover: 'album-art/<>/cover.<>', albumWallpaper: 'album-art/<>/bg.<>', - albumBanner: 'album-art/<>/banner.<>', - trackCover: 'album-art/<>/<>.<>', + artistAvatar: 'artist-avatar/<>.<>', + flashArt: 'flash-art/<>.<>', - albumAdditionalFile: 'album-additional/<>/<>', + + trackCover: 'album-art/<>/<>.<>', + }, + }, + + thumb: { + prefix: 'thumb/', + + paths: { + root: '', + path: '<>', }, }, }; |