inexorgame-obsolete / deprecated-cube-engine-inexor

UNMAINTAINED: Please have a look at the vulkan-renderer
https://inexor.org
zlib License
11 stars 1 forks source link

Edge doesn't display blog posts #549

Closed Croydon closed 6 years ago

Croydon commented 6 years ago

Edge just displays this:

edge

  1. Write a comment here to let us know that you are interested in working on this issue
  2. Investige why Edge can't load and display our posts like Firefox, Chrome and (assumigly) Safari (can somebody test Safari?)
  3. Create a pull request in the site repository with your fix
  4. Wait for feedback and if neccessary make changes
  5. If approved we are going to merge your fix

If you have questions feel free to ask anything here, we are glad to help :)

zahiryahya1 commented 6 years ago

I am interest in working on this issue

Croydon commented 6 years ago

@zahiryahya1 Awesome! Let us know if you have any questions 😄

zahiryahya1 commented 6 years ago

I narrowed down the problem to parseBlogArray(arr) function in Blog.vue. It seems to have something to do with parsing the 'path' object to get the date and title using regular expressions. The way I got around it was to convert 'path' to a string and get the sub-strings corresponding to date and title. My solution assumes that 'path' string is of the form 'post/2018/01-27-title.md'. Am I OK to make this assumption?

Croydon commented 6 years ago

@zahiryahya1 Yes, exactly.

https://api.github.com/repos/inexorgame/blog-data/git/trees/0461d21c1e23ab1fc4a0e9ac4a9c85c369561b23?recursive=1

Croydon commented 6 years ago

Fixed by https://github.com/inexorgame/site/pull/25

Thanks @zahiryahya1 😄