Do Jekyll Themes Receive Security Updates? - jekyll

I'm setting up a personal website on GitHub Pages using Jekyll. I'm using the Cayman theme. I used this documentation to override some of the theme's defaults. The documentation said:
making copies of theme files will prevent you from receiving any theme updates on those files.
I'm OK with not receiving feature updates but I'm not OK with missing out on security updates. Do Jekyll themes ever receive security updates? A Google search didn't turn up anything helpful.
I don't think they do (since a Jekyll site is a static site) but I would like some input/confirmation from someone more knowledgable than myself.

Related

Does minima dark skin work on github pages?

I'm trying to set up a blog via Jekyll and GitHub Pages. To deploy it was not such a big deal, however, in trying to follow the steps described here I only managed to make it display the dark skin locally. Is there a way to deploy it on GithubPages as well?
I installed it via
gem "minima", git: "https://github.com/jekyll/minima"
then added the following two lines in _config.yml
minima:
skin: dark
This is the repo holding the ruby code.
i had this problem too. I learned that the software used by github pages isn’t updated often, hopefully for stability reasoning. You can check what versions they use at https://pages.github.com/versions/. The newer version of minima has the alternative “skins” sass/css feature, but the one currently on github pages doesn’t—-heck, github pages still hasn’t updated Jekyll to v4!!... You should be able to see the build error by clicking Actions on the github repo, then clicking on the last “workflow”, then click on the red-colored build. It’ll say the key in the config file doesn’t exist or somethin’ like that, on the skin: dark line.
anyway, in the config file, add remote_theme: jekyll/minima to force download the latest version from the github repo upon rebuild. Don’t use ~jekyll-theme: minima (or whatever it’s called). In fact, at the moment, all of the themes that come pre-installed with github pages are quite old now...
but really though, use the jekyll discussion site https://talk.jekyllrb.com/.
I was using Chrome, and apparently the Clear browsing data in the last hour with Cookies and other site data and Cached images and files checked made the local updates appear live.
You can go even further and make your jekyll/minima powered site respect users theme preference
https://alexander-taran.github.io/2022/06/08/adopting-dark-theme-in-jekyll-blog.html

How do I upload new posts with an admin panel to a Github-hosted webpage?

I have a webpage, actually a blog, posted with Github Pages. It's a simple HTML&CSS page. Normally, I create new files with my new posts in them and upload these files to my repository. However, I want to create an admin panel. Especially in order to post easily, and manage my blog (like adding tags, comments etc). I don't know where to start or what to use. I know how to program in C & C#, so it's not a problem if I have to learn a new language.
Any help would be appreciated.
You may be able to use a Headless CMS. These approaches normally are driven by git or some kind of API (you don't have to write any backend code) to add content to static sites such as yours. Although most of them work with markdown, so you may need some way to render the markdown into your HTML.
Headless CMS is normally used within Jamstack projects, so I'd suggest checking that out if that is something you're interested in.
I learned that I need server-side processing with languages like PHP or Phyton. However, Github Pages is a static site service and does not support dynamic web sites. So I will whether keep writing locally or consider another hosting services.

How to edit/update articles on big sites using Jekyll

I want to create SEO Niche Websites using Jekyll. Each of my websites will have 300-400 articles (posts).
And I have a question, how in future I can edit/update my posts?
I don't want to use Github for hosting, I'm planning to use virtual hosting with SSH.
And If I edit one single post, then I should upload all my website files every time? It's hard and very don't convenient.
Sorry guys for my English.
My favorite solution is to let CloudCannon build the site and write the build to a DIFFERENT github repo called '[mygithubreposname]_static'. A webhook in this Github repo fires after update and pulls the build to my VM.
A simpler solution is to use a CD/CI tool, use CloudCannon or Netlify for hosting or to let CloudCannon deploy directly to your server.

Can I view changes to a GitHub hosted page before committing to master?

I host a personal website using GitHub pages and I manage the process of changing and improving the site using Git.
My process is to make changes in a 'development' branch and push these to master.
I believe this is a standard process, but my question is:
Is there a way of seeing how the website changes before going through all the steps to merge with master? Or can I see and test this change earlier on, say in a test environment?
I have been trying to find an answer to this question for some time.
The closest I have got to an answer is here:
Can I run HTML files directly from GitHub, instead of just viewing their source?
However when using http://rawgit.com an index.md file only shows as markdown and when using http://htmlpreview.github.io/ all the markdown text appears bunched together. In both cases I can't see any styling as the website is structured using links to external styling sheets and Jekyll front matter.
How can I solve this and view the page as it is supposed to appear?
While your pages are hosted on GitHub, they are rendered differently depending on your GitHub pages settings.
If you are using Jekyll as a static site generator with GitHub Pages, you can then setup your GitHub Pages site locally with Jekyll.
The idea remain to check your pages before pushing to GitHub.

Updating my website/ web hosting?

I'm new to web design and website deployment. I had some general questions that I tried to research but failed. I know how to use Html/CSS/Javascript and I managed to design my own website and upload it and host it using Amazon s3 / Route 53. It's a website built from scratch with HTML, CSS.
The thing that I have failed to understand is managing the website after deployment. Do I simply add HTML pages to my amazon bucket whenever I want to update? is this the way to do it? I came across jekyll in my research and from what I understood, it's a static website generator. But does it help with organizing the website and facilitating adding more content after deployment?
in other words, how do developers go about managing their websites generally after deployment?
I don't know about the Amazon s3 or jekyll etc. How I manage my sites is I use a hosting provider that provides Plesk. With Plesk I manage all my files for my sites in the file manager and I can even edit the code in the online code editor provided. It also has built in apps like Joomla and Wordpress.
I can set up email addresses for each site and also subdomains. Security etc.
When I want to update or edit my site I will either do it in the online code editor if it is something small like changing a color or just a few lines of code. Otherwise for bigger edits I will do it all on my desktop using notepad and then upload all the new files and replace the existing ones.
Each domain has it's own folder in the directory so it is easy to maintain and things don't get messy.
I hope this helps. You said you want to know how developers manage their sites. Although I am not a professional developer, I do have a few sites and that is how I manage them.
It only costs £40 per year too so is quite cheap.
Do I simply add HTML pages to my amazon bucket whenever I want to update? is this the way to do it?
Yes. The simplest way is to make changes to your files in your local workspace and then upload/overwrite the changed files to the S3 storage.
But does [jekyll] help with organizing the website and facilitating adding more content after deployment?
Yes! Jekyll is a great way to organise and generate your static site and I highly recommend it if you are planning to continue creating and deploying content to your site.
Start here, but note that it's a little more difficult if you're on Windows OS.
https://jekyllrb.com/docs/installation/#requirements