Live data from Hacker News

Creating a minimalist blog with Jekyll Now

vdf.dev

31–40 of 94 posts

Re: Creating a minimalist blog with Jekyll Now

#31
post #23

Earlier quoted context omitted.

Do you still have a regular WordPress host though? Do you use WordPress.com? I always wanted to do this but every solution requires some non-free PHP hosting alongside the static host. WordPress.com doesn’t let you customize it unless you pay and if you want to use it headlessly you have to build a non-WordPress template elsewhere. I have a low-traffic low-edit WordPress site I want to staticize, but no solution is s…

Yes I use wp.com as a dumb backend with a somewhat blank template so SEs won't find it. Then pull all posts via the API, download images, etc. Render them via Jinja and upload them to Netlify.

Yeah that sounds reasonable. I don’t know if I’ll ever get around to rewriting the templates.

By the way you could just use the images served from WordPress.com I assume… unless the ToS don’t allow that.

Re: Creating a minimalist blog with Jekyll Now

#32
post #12

The real problem with any SSG is where to host and edit Markdown files and images for flexible spur of the moment content creation. I've built my own Wordpress-export-to-static solution to use the native iOS App as a workaround but it feels somewhat clunky — Same with having to run a headless CMS for this in the background; Surprisingly with all the gazillion of MD editors, no one has ever built one with live editing…

> where to host and edit Markdown files and images for flexible spur of the moment content creation

That, and somehow I don't like drafts to be on a public repo.

Re: Creating a minimalist blog with Jekyll Now

#33
post #23

Earlier quoted context omitted.

Yes I use wp.com as a dumb backend with a somewhat blank template so SEs won't find it. Then pull all posts via the API, download images, etc. Render them via Jinja and upload them to Netlify.

Yeah that sounds reasonable. I don’t know if I’ll ever get around to rewriting the templates. By the way you could just use the images served from WordPress.com I assume… unless the ToS don’t allow that.

wp.com does some hotlinking prevention IIRC so I just download them with Python. Plus, I like hosting assets on my own turf. Peace of mind...

Re: Creating a minimalist blog with Jekyll Now

#34
post #12

The real problem with any SSG is where to host and edit Markdown files and images for flexible spur of the moment content creation. I've built my own Wordpress-export-to-static solution to use the native iOS App as a workaround but it feels somewhat clunky — Same with having to run a headless CMS for this in the background; Surprisingly with all the gazillion of MD editors, no one has ever built one with live editing…

For Windows users, DocxManager (https://docxmanager.com) the Word-document-based static site generator which supports S/FTP uploading (and S3 soon) will be expanded to be a tabbed markdown editor in the near future.

Yes, I'm the developer ;)

Re: Creating a minimalist blog with Jekyll Now

#35
post #12

The real problem with any SSG is where to host and edit Markdown files and images for flexible spur of the moment content creation. I've built my own Wordpress-export-to-static solution to use the native iOS App as a workaround but it feels somewhat clunky — Same with having to run a headless CMS for this in the background; Surprisingly with all the gazillion of MD editors, no one has ever built one with live editing…

For Windows users, DocxManager ( https://docxmanager.com ) the Word-document-based static site generator which supports S/FTP uploading (and S3 soon) will be expanded to be a tabbed markdown editor in the near future. Yes, I'm the developer ;)

People will gladly use classes from tailwind such as mt-1 (margin top 0.25rem) but they will freak out when they see the MsoNormal class. Is there a way to make the styles of the exported site look less like a word export?

Don't get me wrong, amazing work anyway, I just wanted to give some constructive criticism.

Re: Creating a minimalist blog with Jekyll Now

#36
post #12

The real problem with any SSG is where to host and edit Markdown files and images for flexible spur of the moment content creation. I've built my own Wordpress-export-to-static solution to use the native iOS App as a workaround but it feels somewhat clunky — Same with having to run a headless CMS for this in the background; Surprisingly with all the gazillion of MD editors, no one has ever built one with live editing…

1. Just use Github to write. 2. Gatsby.js can sync with most CMSs.

Re: Creating a minimalist blog with Jekyll Now

#38
post #32
post #12

The real problem with any SSG is where to host and edit Markdown files and images for flexible spur of the moment content creation. I've built my own Wordpress-export-to-static solution to use the native iOS App as a workaround but it feels somewhat clunky — Same with having to run a headless CMS for this in the background; Surprisingly with all the gazillion of MD editors, no one has ever built one with live editing…

> where to host and edit Markdown files and images for flexible spur of the moment content creation That, and somehow I don't like drafts to be on a public repo.

Nothing stopping you using a private repo. I use Netlify to host and have it automatically deploy when I merge to main, but my repo is private. I write my drafts in a branch and merge when I'm ready to publish.

Re: Creating a minimalist blog with Jekyll Now

#39

I am somewhat confused by this blog post, as GitHub directly renders Jekyll sites by default–no GitHub Actions or fiddling required. Is there a reason why this was not the right fit?

(author here) I did not know that :P. I thought it was an action because it behaved like one, but you are right, it is a built-in feature on github. This also makes using mainline Jekyll a much better alternative. I will correct the post and follow up updating it from Jekyll now to Jekyll. I used this built-in support thinking it was an action :P

Re: Creating a minimalist blog with Jekyll Now

#40
post #12

The real problem with any SSG is where to host and edit Markdown files and images for flexible spur of the moment content creation. I've built my own Wordpress-export-to-static solution to use the native iOS App as a workaround but it feels somewhat clunky — Same with having to run a headless CMS for this in the background; Surprisingly with all the gazillion of MD editors, no one has ever built one with live editing…

I have a cronjob on my vps that pulls the repo every 20 minutes, and if there are changes builds and uploads the site. I don’t write on mobile but if I would, I’d use iA Writer + Working Copy
Post reply on HN