Add access control for Jekyll blog - jekyll

I built a blog with Jekyll , I write technical posts and something about my daily life. I want to make my technical posts available to anybody but posts about myself only available to my friends for privacy. How can I achieve this?

With Jekyll itself, you can’t (barring some arcane JavaScript client-side encryption). You can use your webserver’s access control settings, though. If you use Apache, you can use the .htaccess file to protect a certain folder with a password. And then you would need to set up Jekyll to output the protected posts into this folder only.

Related

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.

Link file from another language wikipedia

I am using [[File:example.jpg]] in my infobox, but it does not show, since I am writing for Serbian Wikipedia, and file is uploaded to Wikipedia in English. Is there a way to link to this file from other language Wikipedia?
It depends on. If you host your wiki and have access to the configuration of it, you could use $wgForeignFileRepos to point to the wiki where the file(s) is/are hosted. This basically allows anyone on your wiki to use images from the configured foreign wiki as if they were hosted on the same wiki.
However, if you're only the user of the wiki, you can not do that. MediaWiki does not allow to embed files from other wikis without the configuration change mentioned above.

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.

Do Jekyll Themes Receive Security Updates?

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.

Where to Start with build a personal site and WordPress, CSS and CMS

Hey guys im in a very confused state of mind at the moment and need some help with Word Press and generally starting a website. My parents have had a business for 20 years and have finally decided to get a website!
As im studying IT and Business i said id get it done for them. Rather than design it from scratch i used a template which i bought from themeforest.net (awesome template!) and yesterday a friend mentioned in passing using word press as a CMS which i had never heard of before, and he left before i could ask any questions.
SO basically i have a site working on my computer and i have no idea how to get it live as a .com or .com.au, so far as i can see wordpress is a blog with .wordpress.com which isnt what im looking for.
Thanks in advance
Simon
It seems like you have two questions here:
Q1. I have a site working on my computer (locally hosted) and I have no idea how to get it live as a .com or .com.au?
You will need to get a domain name (www.something.com or .com.au) and a Web Hosting Provider where you can upload your site to. Some Web Hosting Providers provide the service of registering a domain name for you, so that you don't have to do it on your own. Take a look at the following links for more info:
http://www.hostcompare.com/guide/guidetohosting.html
http://www.hostcompare.com/
However, since you are still learning this hosting thing, you may want to learn by using some free hosts and perfect your site by making the appropriate changes (if and where necessary) to make your site fully working on the web. For that period you can use the free sub-domain provided by the free host and when you've got it all worked out, you may then either upgrade your plan to premium or migrate to a premium host and buy a domain name as well. Search google for free hosting sites, there are lots of them to choose from.
Q2. A friend mentioned in passing using word press as a CMS which I had never heard of before?
Depending on your needs a CMS could be helpful. It allows you to easily update your sites content online and most CMSs come with additional components such as PayPal integration and the such that can be easily added to the site. Wordpress is one example of a CMS. Note that if you do want to use Wordpress or any other CMS you will need to make sure that:
The hosting provider you chose provides the necessary requirements for it. Ex. PHP, ASP.Net, MySQL, etc...
There is a version of the template that you purchased for the CMS you choose. If not, then you will have to do some custom coding to get the template to work.
If the site you have only contains a small number of static pages, then a CMS might be overkill. This doesn't mean that you can't migrate your site to a CMS in the future if needed.
Hope this helps.
You'll want to sign up with a web hosting provider (site5, dreamhost etc) and register a domain name. Once that's setup you can use the control panels from the hosts to install WordPress, plop in your theme and add content. It's often a one click affair to get WordPress installed, just be mindful of security updates as new versions come out.
Wordpress.com can host blogs, but if you want to install it on you own hosting server you can download the blog platform from wordpress.org and install it on your own server.
The only thing you have to be sure of is if the template you downloaded is for wordpress or not.
There is a difference between http://wordpress.com and http://wordpress.org In your case I think you might want to use http://wordpress.org It is a great free and open source CMS Most web hosts come with the facility of installing WP using stuff like Fantastico.