Alexander Shelepenok
598ff4be53
Merge pull request #44 from codejet/codejet-patch-1
...
Fix tiny typo
2017-10-30 17:36:53 +02:00
Alexander Shelepenok
79029ca7bc
Merge pull request #42 from wichopy/fix-links-component
...
Fix hrefs for github, twitter and vk links in Links component.
2017-10-30 17:35:05 +02:00
ybbarng
d207f68e43
Fixes a crash when a post has no tag
...
This commit avoids undefined.map() or null.map() is calling.
When there is no tag in a post, there are two cases in frontmatter.
1)
title: title
categories: Technical
...
2)
title: title
tags:
categories: Technical
...
Let's look at `post.node.frontmatter.tags` in both situations.
`FILE1 = /gatsby-node.js`
`FILE2 = /src/components/PostTemplateDetails/index.jsx`
In the first case, it is `undefined` in `FILE1`.
Cheking `undefined` is already implemented at FILE1#126, so undefined.map()
is not called.
But it is `null` in `FILE2#22`
and a crash will be occurred because it tries to run `null.map()`.
In the second case, it is `null` in `FILE1` and `FILE2`.
In this case, there will be two crashes in both files because both codes
try to run `null.map()`.
This commit avoids these crashes.
2017-10-30 23:25:49 +09:00
Oliver Schmidt
2d8910b310
Fix tiny typo
2017-10-25 16:53:09 +02:00
Marcela Bomfim
90c7ab5af8
Updating Disqus dependency version
2017-10-19 18:09:06 -02:00
Marcela Bomfim
a95ee0d052
Updating README.md with Disqus and new contributor
2017-10-10 13:28:24 -03:00
Marcela Bomfim
a0fcc33115
Adding Disqus comments on post template
2017-10-10 11:53:14 -03:00
william chou
e0b3792288
Fix hrefs for github, twitter and vk links in Links component.
2017-09-13 23:47:56 -04:00
A. Shelepenok
dbba39f0ab
Merge pull request #39 from alxshelepenok/1.8.12-refactoring
...
refactoring
2017-08-21 22:36:16 +03:00
wpioneer
dede3478bc
change mass_threshold
2017-08-21 22:35:02 +03:00
wpioneer
068f01aa3c
disable check react/require-default-props
2017-08-21 22:18:06 +03:00
wpioneer
29c019ccdb
disable check react/require-default-props
2017-08-21 22:12:35 +03:00
wpioneer
4971a3b214
update .codeclimate.yml, .eslintrc
2017-08-21 03:11:59 +03:00
wpioneer
32534e10e0
fix similar code issues
2017-08-21 01:28:46 +03:00
wpioneer
32c63d4aaf
Add codeclimate config
2017-08-20 21:42:05 +03:00
A. Shelepenok
5cc516ffb5
Merge pull request #38 from alxshelepenok/1.8.12
...
Version 2.0
2017-08-20 21:32:41 +03:00
wpioneer
fae299831e
Add Codeclimate badge to readme.md
2017-08-20 21:29:55 +03:00
wpioneer
191a852ac9
Remove .project file, add codeclimate badge, update .gitattributes
2017-08-20 21:26:17 +03:00
wpioneer
a2f8738ea6
🔖 Upgrade to Gatsby 1.8.12
2017-08-20 14:43:49 +03:00
wpioneer
88481e75f0
Update public email, add repository
2017-06-08 03:07:27 +03:00
Alexander S
c8e68a2138
Merge pull request #33 from abisz/linting
...
Linting
2017-03-08 22:49:29 +02:00
Simon Reinsperger
b52d4a7123
merge
2017-03-08 17:59:10 +01:00
Simon Reinsperger
9ace1405f8
refactor: fixes linting errors components/SiteSidebar/index.jsx
2017-03-08 17:53:24 +01:00
Alexander S
d2ab0f6133
Merge pull request #34 from charandas/patch-1
...
prefixLink unnecessary for profilePic Closes #32
2017-03-08 18:53:09 +02:00
Charandas
f28cc9b6d1
prefixLink unnecessary for profilePic Closes #32
2017-03-08 11:44:52 -05:00
Simon Reinsperger
923a226d9d
refactor: fixes linting errors components/SitePost/index.jsx
2017-03-08 17:37:27 +01:00
Simon Reinsperger
54642a6757
refactor: fixes linting errors components/SitePage/index.jsx
2017-03-08 17:33:20 +01:00
Simon Reinsperger
7762d68aef
refactor: fixes linting errors components/SiteNav/index.jsx
2017-03-08 17:30:14 +01:00
Simon Reinsperger
fde7ec15e9
refactor: fixes linting errors components/SiteLinks(index.jsx
2017-03-08 17:27:24 +01:00
Simon Reinsperger
2a77a52ed2
refactor: fixes linting errors components/ReadNext/index.jsx
...
adds readNext to my-second-post to show this feature in the demo
2017-03-08 17:24:56 +01:00
Simon Reinsperger
db448ba9d1
refactor: fixes linting errors pages/index.jsx
2017-03-08 17:16:26 +01:00
Simon Reinsperger
a1cee07124
refactor: fixing linting error in pages/_template.jsx
...
adds react/forbid-prop-types to be ignored in eslintrc
could be added in an additional refactoring round
right now, I'm not sure what to choose as proptypes...
2017-03-08 17:08:19 +01:00
Simon Reinsperger
b683c5d7e3
refactor: fixing linting errors for wrappers/md.jsx
2017-03-08 17:01:28 +01:00
Simon Reinsperger
7b8b07b05a
refactor: gatsby-browser, gatsby-node
...
adds .eslintcache to gitignore
2017-03-08 16:53:50 +01:00
Simon Reinsperger
84cd888614
refactor: linting html.js
2017-03-07 16:46:07 +01:00
Simon Reinsperger
1e87dfdb6b
feat: eslint config (airbnb), adds cache option for lint npm script
2017-03-07 16:12:39 +01:00
Alexander S
3187d066a0
Merge pull request #31 from concreted/patch-1
...
(fix) use mailto: in email link
2017-03-07 15:54:18 +02:00
Aric Huang
7219be9d37
(fix) use mailto: in email link
2017-03-04 15:15:02 -08:00
wpioneer
d7267ba40f
Fixed scripts
2017-02-05 21:27:30 +03:00
wpioneer
e132d33384
Update .gitattributes
2017-02-05 18:51:24 +03:00
wpioneer
c531356866
Update
2017-02-05 18:45:57 +03:00
Alexander S
230090848b
Merge pull request #27 from swapnilmishra/patch
...
Adding condition for link configs
2017-02-05 12:46:44 +02:00
Alexander S
9319989198
Merge pull request #26 from axelclark/react-warnings
...
Updates to remove React warnings
2017-02-05 12:46:22 +02:00
Swapnil Mishra
afe4b31854
Adding condition for link configs so that whichever is not present will not render
2017-01-25 15:29:10 +05:30
Axel Clark
eb9274ae92
Update required prop for SitePost and Site Page
...
* Changed required prop from post to route
* Removed propType for pages
* These are objects on route prop and not passed in individually
* Closes #25
2016-12-10 15:18:43 -05:00
Axel Clark
27f9d45422
Add key to pageLinks within SiteIndex
...
* Key is required when creating a list of elements
* Adding key removes react warning
* Used title because it should be unique
* Closes #25
2016-12-10 07:44:42 -05:00
Alexander S
0468cc151d
Merge pull request #24 from ihororlovskyi/master
...
add prefixLink in SiteNav component (issue #21 )
2016-12-10 00:53:24 +03:00
Ihor Orlovskyi
766bb8bed9
upd Links at SiteNav
2016-12-09 23:13:44 +02:00
Ihor Orlovskyi
7ade116485
Merge remote-tracking branch 'wpioneer/master'
2016-12-09 22:42:26 +02:00
wpioneer
09019ef4ec
Update license
2016-12-09 17:41:12 +03:00