Show HN: Pages CMS – A CMS for GitHub
11–20 of 122 posts
Re: Show HN: Pages CMS – A CMS for GitHub
#12I'm trying to set it up with my Eleventy blog (paavandesign.com/blog) and struggling to get the body field working
Re: Show HN: Pages CMS – A CMS for GitHub
#13I 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 specify a name for the body.. it's just... there:
https://github.com/colinramsay/colinramsay.github.io/blob/ma...
I'm probably missing something but happy to open an issue if not.
Re: Show HN: Pages CMS – A CMS for GitHub
#14Earlier quoted context omitted.
I have a very surface understanding of mdx, but basically it's a mix of markdown and JSX syntax, no? Didn't know you could define some sort of fields like you seem to do with: import { MdxLayout } from "components/mdx-layout.tsx"; export const meta = { slug: "all-time-high", publishedAt: "2022-09-16T10:00:00.000Z", title: "All time high", headerImage: "https://june-changelog.s3.eu-central-1.amazonaws.com/changelog_at…
Honestly as a v1, I'd just love for you to parse out the whole text file and give me a basic markdown editor! I don't particularly care about having advanced filtering or of parsing my "meta" data
media: public
content:
- name: changelog
label: Changelog
type: file
path: pages/changelogs/2022-in-review.mdx
format: code
Obviously not super useful at this stage, especially since I haven't figured out mdx support in Codemirror yet.I can probably get collections to work though in the next few days. I'll let you know.
Re: Show HN: Pages CMS – A CMS for GitHub
#15It would be nice to have this support generic/arbitrary git servers. I’ve been feeling this pain point for a while and have been considering building something like this myself.
Re: Show HN: Pages CMS – A CMS for GitHub
#16What 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.
Re: Show HN: Pages CMS – A CMS for GitHub
#17This is really cool! I was sad when Forestry went down and this looks better than TinaCMS. I'm trying to set it up with my Eleventy blog (paavandesign.com/blog) and struggling to get the body field working
Have you also checked the examples: https://pagescms.org/docs/examples/
Re: Show HN: Pages CMS – A CMS for GitHub
#18Nice to see a new entry in the git based CMS realm, I really appreciate that you seem to understand the importance of a good user experience for editing content! Am I gathering correctly that this does not actually require you to host a backend somewhere? The GitHub OAuth will work even if the CMS is just statically hosted on Cloudflare Pages / Netlify? This was something I always found a little strange about Netlify…
You don't have to host anything if you use the online version, but you can self host it fairly easily for free on Cloudflare Pages: https://pagescms.org/docs/development/#deploy-on-cloudflare
Re: Show HN: Pages CMS – A CMS for GitHub
#19This is really cool! I was sad when Forestry went down and this looks better than TinaCMS. I'm trying to set it up with my Eleventy blog (paavandesign.com/blog) and struggling to get the body field working
Is your repo public? Happy to have a look if it is. Have you also checked the examples: https://pagescms.org/docs/examples/
---
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
label: Date
type: date
- name: title
label: Title
type: string
- name: description
label: Description
type: string
- name: tags
label: Tags
type: string
- name: body
label: Body
type: rich-textRe: Show HN: Pages CMS – A CMS for GitHub
#20EDIT: 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…