on master help sign in
small fixes in readme and url trimming
commit085a907e71ceb217b1f205365872f3439af3f1a6 authorDYM <re@dym.sh> dateSat 21 Sep 2019, 18:34 (7 years ago) parentee91d30
3 files changed+6−6
README.md+1−1 scripts/portal.js+1−1 scripts/sites.js+4−4
README.md+1−1
@@ -17,7 +17,7 @@ Alternatively, if you your website has a dark background, use `icon.white.svg`.
1717Only the `url`, `contact`, and `langs` keys are required to join the webring. Below you can find a list of all the available keys for the various areas of the webring.
1818```javascript
1919 {
20− author: <string used in the Hallway REQUIRED FOR HALLWAY>',
20+ author: <string used in the Hallway REQUIRED FOR HALLWAY>,
2121 contact: <string used to contact if necessary REQUIRED FOR ALL>,
2222 feed: <string url used Hallway REQUIRED FOR HALLWAY>,
2323 langs: <array of iso language codes represented languages in your site ex. ['en'] REQUIRED FOR ALL>,
scripts/portal.js+1−1
@@ -30,7 +30,7 @@ function Portal (sites) {
3030 }
3131
3232 function _name (site) {
33− return site.title || `${site.url.split('//')[1]}`
33+ return site.title || `${site.url.split('//')[1].replace(/\/+$/,'')}`
3434 }
3535
3636 function _type (site) {
scripts/sites.js+4−4
@@ -662,7 +662,7 @@ const sites = [
662662 {
663663 contact: 'm@cass.si',
664664 langs: ['en'],
665− url: 'https://cass.si/'
665+ url: 'https://cass.si'
666666 },
667667
668668 {
@@ -726,14 +726,14 @@ const sites = [
726726 url: 'https://dym.sh'
727727 },
728728
729− {
729+ {
730730 author: 'Patrick Monaghan',
731731 contact: '0x5f.manpat@gmail.com',
732732 langs: ['en'],
733733 type: 'portfolio',
734− url: 'https://patrick-is.cool/'
734+ url: 'https://patrick-is.cool'
735735 },
736−
736+
737737 {
738738 author: 'icyphox',
739739 contact: 'x@icyphox.sh',