What's the easiest way to add articles to my website without uploading HTML files each time?
Asked by
fuel.gauge.reading
I'm working on a website hosted with GitHub Pages and I want to add articles and essays more efficiently. Right now, I'm stuck uploading a new .html file every time I want to publish something new, and I'm looking for better ways to manage the content. My site is built using plain HTML and CSS, and I'm curious about alternatives that could simplify this process.
Answers
There's also the possibility of using Notion as a sort of database to store your content and fetch it directly from there. It can streamline the process without needing to change much in your current setup.
Reply to this answer
For a more hands-on approach, you could continue what you're doing and just automate local uploads with a tool like GitHub CLI. It makes it easier to add new pages without hassle.
Reply to this answer
Consider using a backend system with a database. This way, your site can dynamically fetch content, so there's no need to create a new HTML file each time you want to update or add an article.
Reply to this answer
If you want to keep things simple, you might try using a full CMS like WordPress. However, if you prefer sticking with GitHub Pages, a static site generator like Jekyll might be a good fit. It lets you write in markdown, which gets converted to HTML automatically.
Reply to this answer
The cleanest method might be transitioning your article writing to markdown and using a static site generator like Jekyll. With GitHub Pages support, you could simply create markdown files instead of writing full HTML each time.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions