I just spent one day building this blog with Jekyll and github page and it’s now up. Many thanks to Jalpc Jekyll Blog which I blatantly git cloned and tweaked to avoid building from scratch. It’s actually pretty great looking!
How I created this blog:
jekyll
and bundler
- as per the jekyll official website<github-user>.github.io
. (In my case, atlas7.github.io
. This is to make it mine)README.md
document.jekyll serve
, or bundle exec jekyll serve
to preview blog at http://127.0.0.1:4000/git add .
, git commit -m "make it mine"
.<github-user>.github.io
. In my case, atlas7.github.io
.origin
to our one. i.e. git remote set-url https://github.com/<github-user>/<github-user>.github.io
origin
now points to our own GitHub repository. i.e. git remote -v
git push origin master
This blog is written in Markdown format. Let’s try something out!
Here is a bash snippet:
cd ENV
source ./bin/activate
Here is a raw text snippet:
hello 123
hello testing 123
Here is a JavaScript code snippet:
const add = (a, b) => a + b
const c = add (10, 20)
console.log(c) //=> print 30
Here is a Python code snippet:
def add(a, b):
return a + b
c = add(10, 20)
print(c) # print 30
Looking good!
Some previously mentioned now fixed: