From 97d99e730c2b5cc97d30836c29730b947ee2b1b4 Mon Sep 17 00:00:00 2001 From: Micah Cowell Date: Mon, 14 Mar 2016 19:04:27 -0700 Subject: [PATCH] im blogging: --- 404.html | 6 ++++++ _posts/2016-03-10-new-blog.md | 21 +++++++++++++++++++-- assets/css/main.scss | 3 --- 3 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 404.html diff --git a/404.html b/404.html new file mode 100644 index 0000000..fc6fa13 --- /dev/null +++ b/404.html @@ -0,0 +1,6 @@ +--- +layout: default +title: Page Does Not Exist... +permalink: /404.html +--- +

Sorry this page does not exist

diff --git a/_posts/2016-03-10-new-blog.md b/_posts/2016-03-10-new-blog.md index e7291ef..78bb3bc 100644 --- a/_posts/2016-03-10-new-blog.md +++ b/_posts/2016-03-10-new-blog.md @@ -3,6 +3,23 @@ layout: post title: Why I Switched from Ghost to Jekyll --- -I made a new blog using jekyll and Github Pages. +I made a new blog! -Before this I was content with [Ghost](https://ghost.org), a fun and easy to use blogging platform. I enjoyed the simplicity an even made a couple themes for it (check them out on my [Github](https://github.com/getmicah)), but what it lacked is that feeling of complete control over your blog. Also, I was getting tired of paying for my Digital Ocean hosting, even with the discount I got with the [Github Student Developer Pack](https://education.github.com/pack) discount. After hearing about the wonders of a "static" blog, I decided to do some hunting around for a new way to blog. Inevitably, I came across Github Pages and Jekyll. Free hosting and a static site blog? It was a no brainer. +**TL;DR** Use [jekyll and Github Pages](https://help.github.com/articles/about-github-pages-and-jekyll/) for a cheap and maintainable blog. + +Before this I was content with [Ghost](https://ghost.org), a fun and easy to use blogging platform. I enjoyed the simplicity an even made a couple themes for it (check them out on my [Github](https://github.com/getmicah)), but what it lacked is that feeling of complete control over your blog. Also, I was getting tired of paying for my Digital Ocean hosting, even with the discount I got with the [Github Student](https://education.github.com/pack) discount. After hearing about the wonders of a "static" blog, I decided to do some hunting around for a new way to blog. Inevitably, I came across Github Pages and Jekyll. Free hosting and a static site blog? Yes, Please. + +It wasn't like there was anything wrong with Ghost. I was just tired of paying to host it on a server. There are quite a few things that I didn't even realize I would appreciate before using jekyll. + + +# Static Site +One of those being the idea of a static website being generated and no need for a backend. This just makes sense and everything is very fast. Jekyll also automatically generates your Sass files into css which is very handy (no need setting up gulp every project). + +# Local Posts +Another thing I especially appreciate about jekyll is how all your posts are stored locally. You just type out your post in markdown in your editor and push to Github to post. Also, its implementation of templates is extremely useful when constructing posts. + +# Variables +The use of variables has to be my favorite feature. It splits variables up between site and page variables. Site variables would include the name of your blog and the description while page variables would be the name of the post or the date. You can include your own site variables inside the _config.yml file, such as a Google Analytics code or something of the nature. + +# Data Files +Another way to access info in your blog is through data files. Instead of just variables, data files allow you to create a YAML, JSON, or CSV file to put data into. For example on this site I have /data/websites.yml file where I store the websites I've made, the fields being the name and url, and then loop them into a list inside my html. diff --git a/assets/css/main.scss b/assets/css/main.scss index 48ba56c..c1b9b67 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -117,9 +117,6 @@ ul { em { font-style: italic; } - u { - text-decoration: underline; - } } }