Skip to content

Commit

Permalink
Merge pull request #139 from thematters/fix/correct-link
Browse files Browse the repository at this point in the history
fix: fix correctLink
  • Loading branch information
robertu7 authored Feb 9, 2023
2 parents 143f51e + 31fd6db commit 4463d70
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@matters/ipns-site-generator",
"version": "0.1.0",
"version": "0.1.1",
"description": "IPNS site generator for matters.news",
"author": "https://github.com/thematters",
"homepage": "https://github.com/matters-ipns-site-generator",
Expand Down Expand Up @@ -49,5 +49,10 @@
"isomorphic-fetch": "^3.0.0",
"lodash": "^4.17.20",
"nunjucks": "^3.2.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
2 changes: 1 addition & 1 deletion src/render/views/shared/scripts/rssEntrances.njk
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function correctLink($el, filename) {
}
// e.g. -> example.eth.limo/rss.xml
$el.setAttribute('href', protocol + host + '/' + filename);
$el.setAttribute('href', protocol + '//' + host + '/' + filename);
}
</script>
{% endif %}

0 comments on commit 4463d70

Please sign in to comment.