From 6c3f850cf03d7a93b32c4a8452a5066af7e02ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Val=C3=A9rio?= Date: Sun, 16 May 2021 20:00:47 +0100 Subject: [PATCH] add CUSTOM_URL parameter --- index.js | 4 ++-- templates/list_posts.handlebars | 3 +-- templates/list_posts.precompiled.js | 34 ++++++++++++++--------------- wrangler.toml.example | 1 + 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/index.js b/index.js index 4b453f5..ff2417f 100644 --- a/index.js +++ b/index.js @@ -130,8 +130,8 @@ function createFeed(items) { const feed = new Feed({ title: TITLE, description: DESCRIPTION, - id: 'http://example.com/', // TODO - link: 'http://example.com/', // TODO + id: CUSTOM_URL, + link: CUSTOM_URL, }) for (let item of items) { diff --git a/templates/list_posts.handlebars b/templates/list_posts.handlebars index d49dde6..29eda2a 100644 --- a/templates/list_posts.handlebars +++ b/templates/list_posts.handlebars @@ -9,8 +9,7 @@ - + diff --git a/templates/list_posts.precompiled.js b/templates/list_posts.precompiled.js index c42c85e..d1281aa 100644 --- a/templates/list_posts.precompiled.js +++ b/templates/list_posts.precompiled.js @@ -33,8 +33,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 35, column: 44 }, - end: { line: 35, column: 52 }, + start: { line: 34, column: 44 }, + end: { line: 34, column: 52 }, }, }) : helper), @@ -53,8 +53,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 35, column: 54 }, - end: { line: 35, column: 63 }, + start: { line: 34, column: 54 }, + end: { line: 34, column: 63 }, }, }) : helper), @@ -74,8 +74,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 37, column: 27 }, - end: { line: 37, column: 38 }, + start: { line: 36, column: 27 }, + end: { line: 36, column: 38 }, }, }) : helper), @@ -96,8 +96,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 38, column: 38 }, - end: { line: 38, column: 53 }, + start: { line: 37, column: 38 }, + end: { line: 37, column: 53 }, }, }) : helper), @@ -118,8 +118,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 38, column: 55 }, - end: { line: 38, column: 71 }, + start: { line: 37, column: 55 }, + end: { line: 37, column: 71 }, }, }) : helper), @@ -139,8 +139,8 @@ templates['list_posts'] = template({ hash: {}, data: data, loc: { - start: { line: 41, column: 12 }, - end: { line: 41, column: 25 }, + start: { line: 40, column: 12 }, + end: { line: 40, column: 25 }, }, }) : helper)) != null @@ -231,7 +231,7 @@ templates['list_posts'] = template({ }) : helper), ) + - '" />\n \n \n\n\n\n