Live data from Hacker News

Show HN: Pages CMS – A CMS for GitHub

pagescms.org

21–30 of 122 posts

Re: Show HN: Pages CMS – A CMS for GitHub

#21

EDIT: I didn't have a `media` entry in my pages.yml, which meant the rich text editor wasn't loading (JS error was being thrown). When I added that entry, it started working! Brilliant work! I'm using Jekyll, with yaml frontmatter, and it's not clear how to specify the body. The documentation says that a rich text field could be set up with a "name" option (and gives "body") as an example but my Markdown files don't…

this solved my issue, thanks!

Re: Show HN: Pages CMS – A CMS for GitHub

#22
post #19

Earlier quoted context omitted.

Is your repo public? Happy to have a look if it is. Have you also checked the examples: https://pagescms.org/docs/examples/

edit: this was the bug which I think you're already on top of! https://news.ycombinator.com/item?id=39468906 --- So 'body' is working if I set the type to text but when I set it to rich-text there's no input generated for body Repo is private (sorry!) but here's the settings YAML file as it stands content: - name: blog label: Blog type: collection path: 'src/blog' view: fields: [ title, date] fields: - name: date lab…

Yep, seems to be the same bug as what somebody else reported: if you don't specify a `media` attribute, when the rich-text editor tries to load it fails as it is attempting to load the media related features (to insert images).

Publishing a hotfix in the next hour, in the meantime it should work if you add a media attribute (you can set it as `media: ""` if you don't have an image folder).

Re: Show HN: Pages CMS – A CMS for GitHub

#23
post #10

What the hell is going on with the little sentences in that example? I thought it was supposed to be like, a bad VC rap joke song or something? I was looking for rhymes. It's really lame.

Sorry for that: the titles are indeed lame. But they're mine. And I kinda like them.

Re: Show HN: Pages CMS – A CMS for GitHub

#28
post #19

Earlier quoted context omitted.

Is your repo public? Happy to have a look if it is. Have you also checked the examples: https://pagescms.org/docs/examples/

edit: this was the bug which I think you're already on top of! https://news.ycombinator.com/item?id=39468906 --- So 'body' is working if I set the type to text but when I set it to rich-text there's no input generated for body Repo is private (sorry!) but here's the settings YAML file as it stands content: - name: blog label: Blog type: collection path: 'src/blog' view: fields: [ title, date] fields: - name: date lab…

I rolled out a hotfix, this should be fixed.

I also found another couple edge cases that are unlikely but that I will patch in the coming days.

Thanks for that.

Re: Show HN: Pages CMS – A CMS for GitHub

#29

EDIT: I didn't have a `media` entry in my pages.yml, which meant the rich text editor wasn't loading (JS error was being thrown). When I added that entry, it started working! Brilliant work! I'm using Jekyll, with yaml frontmatter, and it's not clear how to specify the body. The documentation says that a rich text field could be set up with a "name" option (and gives "body") as an example but my Markdown files don't…

I rolled out a hotfix, this should be fixed. Thanks for the feedback.

Re: Show HN: Pages CMS – A CMS for GitHub

#30

Supremely cool. So this can supplement e.g. my eleventy sites and provide a way for clients of those sites to easily interact with the content and static asset portions of the site? Seems like there's tons of potential here. Kudos, def will give it a whirl!

Yes it does HOWEVER for now you need to log in with GitHub. I don't think it's too huge of a hassle with most people, but there is a bit of friction.

I am planning to add an "invite by email" feature that will allow you to add users by entering their email address. They can then log in without a GitHub account and use it the same way you do (although the commit will be associated to a Pages CMS GitHub app).

Post reply on HN