Closed elmar-hinz closed 3 years ago
Have you tried cloning the repository and installing+running? Not sure if Type On Strap is failing in something...
It works fine on the GitHub Pages site, maybe all you need to do is cloning and running that.
I checked to clone the full repository from GitHub. This does work.
It's not exactly the issue with the gem and and a fresh Jekyll project.
Well there is a bug with the gem so @sylhare has to look on that when he is free. Meanwhile can you show a GUI image of the posts directory?
@sylhare I managed to recreate this. Looks like the bug does exist. Maybe it is just due to the wrong configuration so let me change that and try again.
I think I might have solved this bug. SInce @elmar-hinz used the gem by adding the Minima theme and replacing it with Type On Strap, it triggered some kind of bug that makes it think that there are no blog posts. Maybe the best thing to do is first make the Gemfile and installing the dependencies based on that which is suggested.
First off, @sylhare you have literally locked down the gem. I mean, just spin up a Gitpod environment, use the terminal and try pulling the latest gem package and it asks you to log in. You can log in to the RubyGems package environment but I can't. I tried that and it is of no use. I can't pull the gem since you need to give me perms to get the gem pulled on. Maybe you set something up in your Packages settings and it is behaving like that.
Sorry, I can't assist any further with this. Minimal Mistakes theme does fit my use case. Thank you very much.
I don't close the issue, as I think it's worth to keep working on it.
Thank you for trying out the gem. Here is an article on how I made it work https://sylhare.github.io/2021/03/25/Run-type-on-strap-jekyll-theme-locally.html
@im-coder-lg maybe you made a typo when trying from gitpod? I successfully installed it on a random workspace:
I'll close for now then.
Oh, so that's the way to do this? Man, I thought I needed the official package line from here :rofl: But you are using the Ruby on Rails image and I used the workspace-full image since Gitpod runs on different images so it has to be that you launched a particular image that has Ruby on Rails. I have an idea on which I am working right now.
I try to check out the gem "type-on-strap" with a fresh Jekyll installation, which contains one default post from today. Type-on-strap shows "There are no blog posts".
Searching the sources this comes form _includes/blog/blog.html , which iterates paginator.posts. The gems description names a runtime dependency jekyll-paginate. Even installing this gem manually doesn't get it running. jekyll-paginate was last updated three years ago and has few description.
At this point I give up. At least the initial installation should run out-of-the-box.
Steps to reproduce: