on master help sign in
Merge pull request #321 from dym-sh/master
e817527Лu Лinveгa
README.md+1−1
@@ -17,7 +17,7 @@ Alternatively, if you your website has a dark background, use `icon.white.svg`.
17Only 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.
17Only 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.
18```javascript
18```javascript
19 {
19 {
20− author: <string used in the Hallway REQUIRED FOR HALLWAY>',
20+ author: <string used in the Hallway REQUIRED FOR HALLWAY>,
21 contact: <string used to contact if necessary REQUIRED FOR ALL>,
21 contact: <string used to contact if necessary REQUIRED FOR ALL>,
22 feed: <string url used Hallway REQUIRED FOR HALLWAY>,
22 feed: <string url used Hallway REQUIRED FOR HALLWAY>,
23 langs: <array of iso language codes represented languages in your site ex. ['en'] REQUIRED FOR ALL>,
23 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) {
30 }
30 }
31
31
32 function _name (site) {
32 function _name (site) {
33− return site.title || `${site.url.split('//')[1]}`
33+ return site.title || `${site.url.split('//')[1].replace(/\/+$/,'')}`
34 }
34 }
35
35
36 function _type (site) {
36 function _type (site) {
scripts/sites.js+4−4
@@ -664,7 +664,7 @@ const sites = [
664 {
664 {
665 contact: 'm@cass.si',
665 contact: 'm@cass.si',
666 langs: ['en'],
666 langs: ['en'],
667− url: 'https://cass.si/'
667+ url: 'https://cass.si'
668 },
668 },
669
669
670 {
670 {
@@ -728,14 +728,14 @@ const sites = [
728 url: 'https://dym.sh'
728 url: 'https://dym.sh'
729 },
729 },
730
730
731− {
731+ {
732 author: 'Patrick Monaghan',
732 author: 'Patrick Monaghan',
733 contact: '0x5f.manpat@gmail.com',
733 contact: '0x5f.manpat@gmail.com',
734 langs: ['en'],
734 langs: ['en'],
735 type: 'portfolio',
735 type: 'portfolio',
736− url: 'https://patrick-is.cool/'
736+ url: 'https://patrick-is.cool'
737 },
737 },
738−
738+
739 {
739 {
740 author: 'icyphox',
740 author: 'icyphox',
741 contact: 'x@icyphox.sh',
741 contact: 'x@icyphox.sh',