althea-net / issue-warehouse

0 stars 0 forks source link

Set up blog with Ghost #29

Closed jtremback closed 5 years ago

jtremback commented 5 years ago
asoltys commented 5 years ago

Progress update:

Todo:

jtremback commented 5 years ago

Import posts from Medium (Jehan to provide data, Adam to do import)

The data would be from our medium account

asoltys commented 5 years ago

Update:

Images are displayed now (https://github.com/althea-mesh/ghost-theme/commit/ca8aea436ba77ae46fde7de40e16e02a54696201)

There's no way to set an image caption for the featured image. We might be able to work around this by creating an image within the post which does allow you to add a caption and then tagging it with a special classname or something and then using Javascript to make it behave like the featured image. Any thoughts on that before I go ahead with it?

Medium only seems to let you export your own posts so we're going to need all the authors from Medium (Jehan, Justin, Deborah, Neeraj) to export their data separately. I can work on combining it all.

Staging site is here: https://altheamesh.com/toast/ Why /toast? /blog is currently redirecting to the Jekyll pages and ghost would let me use /ghost because it's used for admin pages. I'll come up with something better later but not sure how important this staging site is.

Production site is live: https://blog.althea.org/ Admin URL: https://blog.althea.org/ghost

The old Jekyll posts have been imported but some of the code snippets didn't get formatted properly and some image URLs are broken so I need to go through all the articles and check/fix them.

jtremback commented 5 years ago

I requested a download of our whole publication from medium support

asoltys commented 5 years ago

Medium posts have been imported. I noticed some images are spilling out of the container margins so I need to put some styles in to prevent that and I still need go through more posts to look for other issues.

asoltys commented 5 years ago

Ok, I think we can call this done now. I've gone through all the posts and fixed issues with broken links, code formatting, video embeds, missing tags, wrong authors, images spilling over, etc. I stripped off the unique ID's from the URL's of medium posts and updated all the internal links. Also went through the new static site and fixed a bunch of links there as well, including the main blog links in the top navigation and footer. Also added a javascript redirect on all the Jekyll posts being served from althea.org/blog/*

Oh and I added pagination controls to the index page. It displays 20 posts at a time.

jtremback commented 5 years ago

Thanks for the update! Great job. I'll go over this tomorrow @asoltys