diff --git a/pages/users/@username/+Page.vue b/pages/users/@username/+Page.vue index 9a4caba..5ca3de9 100644 --- a/pages/users/@username/+Page.vue +++ b/pages/users/@username/+Page.vue @@ -102,11 +102,12 @@ const profile = ref(pageContext.pageProps.profile); const now = new Date(); const mockupRelease = { - id: 1, + id: 0, title: 'Nut For Human Consumption', + url: 'https://traxxx.me/scene/0/nut-for-human-consumption', date: now, effectiveDate: now, - createdAt: new Date(2024, 0, 1), + createdAt: new Date(now.getFullYear(), 0, 1), actors: [ { name: 'Chanel Chakra', @@ -125,7 +126,7 @@ const mockupRelease = { { name: 'facial' }, ], movies: [{ - title: 'Best Of Traxxx 23', + title: `Best Of Traxxx ${String(now.getFullYear()).slice(2)}`, }], channel: { name: 'Traxxxed', diff --git a/utils/process-summary-template.js b/utils/process-summary-template.js index fc1149c..a8cc541 100644 --- a/utils/process-summary-template.js +++ b/utils/process-summary-template.js @@ -78,6 +78,10 @@ function traverseTemplate(chain, release, { delimit = ' ' } = {}) { return result; } + if (item.text) { + return result.concat(curateValue(item.text, item)); + } + if (keys) { const value = keys.split('|').reduce((acc, key) => acc || propProcessors[key]?.(release, typeof item === 'string' ? { key } : item)